Answer:
In C++ we can assign a character to the variable by using the below statement.
ch='X';
Explanation:
The complete program for assigning a character to the variable is given as
#include<iostream>
#include <conio.h>
using namespace std;
main()
{
char ch;
ch= 'X';
cout<<"output of variable Ch ="<<ch;
getch();
}
In above program Char is the data type used for character type variables. ch= 'X' stores X in ch. Then output will shown through cout.
Answer:
II and III only
Explanation:
In Code segment II, the output of the array will be started form arr[0] and ends at the arr[length]. Because loop starts from 0 and ends at length of array. This will print the full array data.
In code segment III, the output will be all values of array as loop starts form first index and ends at last index.
On the other hand I code segment prints all array values except last value of the array. As the loop shows that, it will terminate at second last value of the array.
Answer:
<a href="url">link text</a>
Answer:
After Nathan clicks the Bullets option, which bullet would appear with his list? CIRCLE