Advanced database multiple choice question

Advanced database multiple choice question

1.  Which operator has the highest precedence?
a) shift
b) unary
c) postfix
d) equality

Answer - Click Here:
C

2.  What is the default return type of a function?
a) void
b) char
c) float
d) int

Answer - Click Here:
A

3. The switch statement is also known as?
a) selective statement
b) choosing statement
c) certain statement
d) none

Answer - Click Here:
A

4. Destination statement is represneted by

a) :

b) $

c) @

d) &

Answer - Click Here:
A

5. Which looping process is best?
a) for
b) while
c) do-while
d) none

Answer - Click Here:
C

6. Which is method is the  right method of declaring array?

a) array array[];

b) int array[];

c) int array{};

d) array;

Answer - Click Here:
A

7. How many characters are in ASCII code?

a) 256

b) 64

c) 128

d) none

Answer - Click Here:
D

8. Which one is for character type in C++?

a) wchar

b) char

c) vchar

d) both (a) & (b)

Answer - Click Here:
D

9. By default, what is the sign of character type in C++?

a) unsigned

b) implementation dependent

c) signed

d) None

Answer - Click Here:
B

10. Which operator can’t be overloaded?

a) >>

b) ;

c) ?:

d) &&

Answer - Click Here:
C

11. What does cout stands for?

a) class output

b) console output

c) char output

d) none

Answer - Click Here:
B

12. Which can’t be declared as static?

a) object

b) function

c) array

d) none

Answer - Click Here:
A