iGET

C Programming - MCQ Practice Questions

C questions in placement tests and university exams are rarely about syntax alone. Most of what you will find here is output prediction, pointer arithmetic, arrays and strings, structures and unions, storage classes, recursion, and file handling. The explanations walk through memory behaviour step by step, which is usually where the confusion sits rather than in the code itself.

972 questions | 100% Free

Q.1Easy

Which of the following is NOT a fundamental data type in C?

Q.2Easy

What is the size of an 'int' variable in a 32-bit system?

Q.3Easy

Which variable declaration is correct in C?

Q.4Easy

Which keyword is used to declare a variable that cannot be modified?

Q.5Easy

Which of the following is a derived data type in C?

Q.6Easy

How many bits are used to store a 'short int' in a standard C environment?

Q.7Easy

What is the range of values for a signed char in C?

Q.8Easy

Which keyword is used to modify a variable so that it cannot be changed?

Q.9Easy

What is the size of the double data type in most 64-bit systems?

Q.10Easy

Which of the following variable names is INVALID in C?

Q.11Easy

What will be the result of sizeof(int) on a typical 32-bit system?

Q.12Easy

What is the default data type of a floating-point constant in C?

Q.13Easy

What is the range of unsigned char in C?

Q.14Easy

What is the scope of a variable declared inside a function block?

Q.15Easy

Which of the following is a storage class in C?

Q.16Easy

What is the difference between initialization and assignment in C?

Q.17Easy

What is the size of a 'float' data type in C on most 32-bit systems?

Q.18Easy

What is the range of 'signed char' in C?

Q.19Easy

What happens if you assign a double value to an int variable without casting?

Q.20Easy

What is the size of the 'char' data type in C on most modern systems?