Subject / 929 questions

Programming MCQs

Page 3 of Programming multiple-choice questions with answers. Tap an option to check yourself.

Page 3 of 47

Advertisement
Question 47 C Language

In the declaration int *const p = &x;, what is constant?

Correct answer A. The pointer p itself, which cannot be made to point elsewhere

Open question
Advertisement
Advertisement
Question 59 C Language

What does the file-scope declaration extern int count; do in C?

Correct answer C. It declares count without defining it, so the storage must be defined elsewhere

Open question