What is this >> (operator) is called as
Insertion operator
Extraction operator
Right shift operator
Left shift operator
What is the only function all C++ programs must contain?
start()
system()
main()
program()
What punctuation ends most lines of C++ code?
;
:
||
&&
Evaluate !(1 && !(0 || 1))
True
False
If you have scored has the 80 marks , and have achieved A Grade what will the following code display? if ( grade >= 60 ) cout << "Passed";
Passed
A garde
4 Gpa
Computer XY int x = 21; double y = 6; double z = 14; y = x / z; x = 5.5 * y;
8.1
8.35
8.5
8
Which statement would be used to declare a 10-element integer array c?
array c = int[ 10 ];
c = int[ 10 ]
int array c[ 10 ]
int c[ 10 ]
cout << a << b << c << 'c';
bcbc
ccbc
abcc
Evaluate (true && true) || false
true
Evaluate (false && true) || true
What operator should be used to obtain following answer 74_______2=0
Addition
Logical Or
Modulus
Compliment