1. Home
  2. Subjects
  3. Computer Science MCQs
  4. C Programming

C Programming MCQs · Page 4

146 multiple choice questions with answers in Computer Science MCQs.

Showing 76–100 of 146

After int x = (1, 2, 3); what value does x hold in C?

  1. 6, because the values are summed
  2. A compile-time error, since commas are invalid
  3. 3, because the comma yields the last value Correct answer
  4. 1, because the first value is assigned
MCQSEXAM Read explanation