1. Home
  2. MCQs by exam
  3. Campus Interviews
  4. Computer Science MCQs

Campus Interviews MCQs – Computer Science MCQs · Page 10

346 multiple choice questions typical of the Campus Interviews exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 226–250 of 346

What does strcmp("apple", "apricot") return in C?

  1. The number of differing characters in the strings
  2. A negative value, because "apple" sorts first Correct answer
  3. Zero, because the strings are different
  4. A positive value, because "apple" is longer
MCQSEXAM Read explanation