QUESTION 6
A single line comment in C++ language source code can begin with_____
    Â
a) //
b) ;
c) :
d) /*
QUESTION 7
What is the output of the following program?
#include using namespace std; class abc {public: int i; abc(int i) { i = i; } }; main() { abc m(5);cout<a)Garbage
b)5 Â Â Â Â Â
c)Compile Error
d)None of the answers
QUESTION 8
The following operator can be used to calculate the value of onenumber raised to another.
    Â
a)None of the answers
b) ^
c)**
d) ^^ Â Â
QUESTION 9
What is the output of the following program?
#include using namespace std; int main () { //local variable declaration: int x = 1; switch(x) { case 1 : cout<< \"Hi!\" << endl; break; default : cout <<\"Hello!\" << endl; } }
a) Hi
b)Hello
c)HelloHi
d)Compile Error
QUESTION 10
What is the output of the following program?
#include using namespace std; main() { int a[] ={1, 2}, *p = a; cout<Â Â Â Â Â
a)2
b)1
c)Compile Error
d)Runtime Error