Top 150+ OOPS Quiz Questions and Answers - 2

Question: 6

Main( ) is an example of

(A) Header

(B) Statement

(C) User defined function

(D) Library function

Ans: C

User defined function

Question: 7

By default, any real number in ‘C’ is treated as

(A) depends upon memory model that you are using

(B) a long double

(C) a double

(D) a float

Ans: C

a double

Question: 8

Which of the following operators in ‘C’ programming language takes only integer operands?

(A) +

(B) *

(C) /

(D) %

Ans: D

%

Question: 9

An identifier in C

(A) can obtain both upper case and lower case

(B) is made up of letters numerals and the underscore

(C) is a name of thing such as variable and function

(D) all of these

Ans: D

all of these

Question: 10

Which of the following is a storage class specification in C?

(A) static

(B) automatic

(C) external

(D) all of these

Ans: D

all of these

Related Questions