Declarations and Initializations – Point Out Correct Statements

1. Which of the declaration is correct?

A. int length;
B. char int;
C. int long;
D. float double;

Correct Answer: A. int length;
Advertisement

2. Which of the following operations are INCORRECT?

Which of the following operations are incorrect

Correct Answer: Option D
Advertisement

3. Which of the following correctly represents a long double constant?

A. 6.68
B. 6.68L
C. 6.68f
D. 6.68LF

Correct Answer: B. 6.68L
Advertisement

4. Which of the structure is incorrect?

Which of the structure is incorrcet

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

Correct Answer: B. 2
Advertisement

5. Which of the structure is correct?

Which of the structure is incorrcet

A. 1
B. 2
C. 3
D. All of above

Correct Answer: A. 1
Advertisement

Leave A Comment?