Our C questions and answers focuses on all areas of C programming language covering 100+ topics in C.
List of MCQ (Multiple Choice Questions & Answers) on C Programming with topics:
MCQ on Data Types, Operators and Expressions in C
Data Types and Sizes
Relational & Logical Operators
Increment and Decrement Operators
Assigment Operators & Expressions
Precedence and Order of Evaluation
2. MCQ on Control Flow Statements in C
Break and Continue
Goto & Labels
3. MCQ on C Functions and Structure of a Program
The section contains questions and answers on functions basics, external variables, variable scope, static and register variables, automatic variables, c-preprocessor, file inclusion, macro substitution and conditional inclusion.
Basics of Functions
Functions Returning Non-integers
Scope of a Variable
4. Questions on Pointers and Arrays in C
The section contains questions on pointers and addresses, function arguments, arrays, address arithmetic, character pointers and functions, multidimensional arrays, pointer arrays initialization, command line arguments and complicated declarations.
Pointers and Addresses
Pointers and Function Arguments
Pointers and Arrays
Character Pointers and Functions
Pointers to Pointers
Initialization of Pointer Array
Pointers Vs. Multi-dimensional Arrays
Command Line Arguments
Pointers to Functions
5. Questions & Answers on Structures, Unions and Bit-Fields in C
The section contains questions and answers on structures basics, functions, arrays of structures, pointer to structires, self referential structures, table lookup, typedefs, unions and bit fields.
Basics of Structures
Structures and Functions
Arrays of Structures
Pointer to Structures
6. Questions on Input and Output in C
The section contains questions on standard input and output, formatted input and output, variable length argument, file access, error handling, line input and output, string operations, character class testing, ungetc, storage management, mathematical functions, random number generation, file operations, printf and scanf.
Standard Input & Output
Variable Length Argument
Line Input & Output
Character Class Testing & Conversions
Random Number Generation
7. Questions & Answers on Floating Point & Sizeof Operator in C
The section contains questions and answers on float datatype and sizeof keyword.
8. Questions on Enumerations and Typedefs in C
The section contains questions on enums and typedef.
9. Questions & Answers on String Operations in C
The section contains questions and answers on string operations, character and error handling.
10. Questions on C Library
The section contains questions on mathematical functions, general utilities, diagnostics, variable argument lists, non local jumps, localization, signal handling, standard definition, implementation defined limits, date and time functions.
Variable Argument Lists
Date and Time Functions
11. Questions & Answers on Dynamic Memory Allocation in C
The section contains questions and answers on static and dynamic memory allocation, dma functions, memory leak and dangling pointers.
Static vs Dynamic Memory Allocation
DMA Functions, Memory Leak, Dangling Pointers – 1 DMA Functions, Memory Leak, Dangling Pointers
12. Questions on C Preprocessor
The section contains questions on pragma, stringizers, conditional preprocessor directives and token concatenation.
Conditional Preprocessor Directives – 1 Conditional Preprocessor Directives – 2
13. Questions & Answers on Miscellaneous Topics in C
The section contains questions and answers on inline, endianness, recursion and signed qualifier.