C Language - Operators

You Are Here :: Home > C Language > Operators - General Questions

 
7.

Pick the operator that associate from the left                          


A. + B. <
C. , D. All




8.

Pick the operator that associate from the right   

A. ? : B. All
C. + = D. =




9.

Which of the following comments about the "++" operator are correct?

A. It is a unary operator B. All
C. It associates from the right D. It cannot be applied to an expression




10.

What symbol must use to signal the begaining and ending of code blocks or compound statements?

A. { } B. ( and )
C. BEGIN and END D. -> and <-




11.

Which of the following are unary operators in C?

1. !
2. sizeof
3. ~
4. &&

A. 1, 2 B. 1, 3
C. 2, 4 D. 1, 2, 3




12.

Which of the following is the correct order if calling functions in the below code?

a = f1(23, 14) * f2(12/4) + f3();

A. f1, f2, f3 B. f3, f2, f1
C. Order may vary from compiler to compiler D. None of above




« previous

1

2

3

4

5

6

7

8

9

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on