iGET

C Programming - MCQ Practice Questions

Practice free C Programming multiple-choice questions with detailed answers and explanations. Perfect for competitive exam preparation.

978 questions | 100% Free

Q.21Easy

What is the size of a pointer in a 64-bit system?

Q.22Easy

How does free() handle a NULL pointer?

Q.23Easy

What is the result of: int x = 5; int *p = &x; int *q = p; if p == q?

Q.24Easy

What happens with: int arr[10]; int *p = arr; *p = 5; printf("%d", arr[0]);?

Q.25Easy

What is the output of the following code? int x = 10; int *p = &x; int q = &p; printf("%d", q);

Q.26Easy

Consider the declaration: const int *p; and int * const q; Which statement is TRUE?

Q.27Easy

What is the primary issue with this code? int *p; *p = 10;