Top

Declarations and Initializations

21.

Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?

Answer: C

No answer description available for this question.

Enter details here

22.

Which of the following special symbol allowed in a variable name?

Answer: D

No answer description available for this question.

Enter details here

23.

Is the following statement a declaration or definition?
extern int i;

Answer: A

No answer description available for this question.

Enter details here

24.

Suppose a program is divided into three files f1, f2 and f3, and a variable is defined in the file f1 but used in files f2 and f3. In such a case would we need the extern declaration for the variables in the files f2 and f3?

Answer: A

No answer description available for this question.

Enter details here

Loading…
Tags: Declarations and Initializations Questions and Answers || Declarations and Initializations MCQ Questions and Answers || Declarations and Initializations GK Questions and Answers || Declarations and Initializations GK MCQ Questions || Declarations and Initializations Multiple Choice Questions and Answers || Declarations and Initializations GK || GK on Declarations and Initializations || C Programming Questions and Answers || C Programming MCQ Questions and Answers || C Programming GK Questions and Answers || GK on C Programming