Think Dream Create Inovate

Sunday, September 11, 2011

C++


1)The meaning of conversion character for data input is
(A)  Data item is a long integer
(B) Data item is an unsigned decimal integer
(C) Data item is a short integer
(D) None of the above

Ans : C

2) The conversion characters for data input means that the data item is
(A) An unsigned decimal integer
(B) A short integer
(C) A hexadecimal integer
(D) A string followed by white space

Ans : D

3) An expression contains relational, assignment and arithmetic operators. If Parenthesis are not present, the order will be
(A) Assignment, arithmetic, relational
(B) Relational, arithmetic, assignment
C) Assignment, relational, arithmetic
(D) Arithmetic, relational, assignment

Ans : D

4) Which of the following is a key word is used for a storage class
(A) Printf
(B) External
(C) Auto
(D) Scanf

Ans : C

5) In the C language 'a’ represents
(A) A digit
(B) An integer
(C) A character
(D) A word

Ans : C

1 comment: