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

In C, which of the following correctly declares a pointer to an integer?

Q.22Easy

What will be the output of: printf("%d", );

Q.23Easy

What will be the output of: int x = 10; printf("%d", x++);

Q.24Easy

How many bytes does a 'long long' integer occupy in C (standard 32-bit system)?

Q.25Easy

Which escape sequence represents a horizontal tab in C?

Q.26Easy

What is the correct way to declare a two-dimensional array of integers with 3 rows and 4 columns?

Q.27Easy

What is the output of the following C program? #include<stdio.h> int main() { char str[] = "GATE"; printf("%d", sizeof(str)); return 0; }