1. Home
  2. PDF downloads
  3. Campus Interviews MCQs PDF
  4. Campus Interviews Computer Science MCQs PDF

Campus Interviews Computer Science MCQs PDF Download

Get 346 Computer Science MCQs asked in or prepared for Campus Interviews tests, with the correct answer for every question. The free PDF is ideal for last-minute Campus Interviews revision; practise online to see the explanations. Last updated 19 November 2026.

346 MCQs with answers Downloaded 0 times Updated 19 November 2026

Download Campus Interviews Computer Science MCQs PDF

Number of questions
Answers
Practice online

Free, no sign-up. A4 PDF with numbered questions, options A–D, answer key and a QR code to practise online.

Share with your study group

Preview: first 10 Campus Interviews Computer Science MCQs

1. Which storage class in C keeps a local variable alive for the entire program?

  1. A. extern
  2. B. register
  3. C. static
  4. D. auto
Show answer

Correct answer: C – static

See the explanation

2. In a typical 32-bit C implementation, what is sizeof(int)?

  1. A. 4 bytes
  2. B. 2 bytes
  3. C. 8 bytes
  4. D. 1 byte
Show answer

Correct answer: A – 4 bytes

See the explanation

3. Which header file must be included to use printf() and scanf()?

  1. A. stdlib.h
  2. B. string.h
  3. C. math.h
  4. D. stdio.h
Show answer

Correct answer: D – stdio.h

See the explanation

4. The index of the first element of an array in C is:

  1. A. 0
  2. B. 1
  3. C. −1
  4. D. the array name
Show answer

Correct answer: A – 0

See the explanation

5. A pointer variable in C stores:

  1. A. the size of a variable
  2. B. a function name
  3. C. a memory address
  4. D. a copy of the data itself
Show answer

Correct answer: C – a memory address

See the explanation

6. The function malloc() is declared in which header file?

  1. A. stdio.h
  2. B. malloc.h
  3. C. memory.h
  4. D. stdlib.h
Show answer

Correct answer: D – stdlib.h

See the explanation

7. The free() function is used to:

  1. A. clear the terminal screen
  2. B. release dynamically allocated memory
  3. C. delete a file permanently from disk
  4. D. close an open file handle
Show answer

Correct answer: B – release dynamically allocated memory

See the explanation

8. The function strlen() returns:

  1. A. the number of characters excluding the null terminator
  2. B. the number of characters including the null terminator
  3. C. the size of the allocated buffer
  4. D. the number of words in a string
Show answer

Correct answer: A – the number of characters excluding the null terminator

See the explanation

9. Which format specifier is used in printf() to display a float value?

  1. A. %f
  2. B. %d
  3. C. %c
  4. D. %s
Show answer

Correct answer: A – %f

See the explanation

10. Which operator is used to obtain the address of a variable in C?

  1. A. ->
  2. B. .
  3. C. &
  4. D. *
Show answer

Correct answer: C – &

See the explanation

More Campus Interviews PDFs

Computer Science PDFs

Campus Interviews Computer Science MCQs PDF – FAQ

Is the Campus Interviews Computer Science MCQs PDF free?

Yes. The Campus Interviews Computer Science MCQs PDF is completely free. You do not need an account; just choose how many questions you want and press Download PDF.

How many questions are in the Campus Interviews Computer Science MCQs PDF?

There are 346 Campus Interviews Computer Science MCQs with answers. PDFs are made topic by topic: pick a topic and download 25, 50, 75, 100, 200, 300 or up to 500 questions in one file.

Does the PDF include the answers?

Yes. Choose "Answer key at the end" for a self-test sheet, or "Answer under each question" for quick revision. The online version also explains each answer.

Can I practise Campus Interviews Computer Science MCQs online?

Yes. Press Practice online to answer the same questions on MCQsExam, see explanations, and take a timed test with a free certificate.

Is the Campus Interviews Computer Science PDF updated?

The PDF is rebuilt automatically whenever new Campus Interviews Computer Science MCQs are added or corrected. It was last updated on 19 November 2026.