25 questions · 40 minutes · C Programming

C Basics - Practice Quiz 2 practice quiz

More fundamentals of C programming: operators, memory, arrays, structs, file I/O (25 questions).

Before you start

25 multiple choice questions. 1 mark each. No negative marking. Time: 40 minutes.

You can take this without an account and you will still get the full marked review. Only signed-in attempts are saved — sign in first if you want this one kept in your history.

Questions
25
Time
40 minutes
Marks
25
Subject
C Programming
Marking
Server-side

What it asks

The first few questions

  1. Which operator is used to access a member of a structure through a pointer?
  2. How do you declare a structure type named Point with int x and y?
  3. What is the effect of declaring a variable static inside a function?
  4. Which file mode opens a file for appending in text mode?

21 more once you begin. Options are withheld until the attempt starts — the answer key never reaches the browser before you have been marked.