C Programming

Complete C programming notes covering syntax, pointers, arrays, and structures.

Operators precedence in C

Understanding Operator Precedence and Associativity is essential for the CDAC C-CAT exam.

Bitwise Operators in C

Bitwise operators work directly on the binary representation of integers, bit by bit, rather than on their decimal values.

Short Circuiting in C

Short circiting in C is important but rather underlooked concept.

Pointers in C Programming

Comprehensive guide to pointers in C — from basics to advanced concepts including pointer arithmetic, arrays, functions, and memory management.

Storage Classes in C

Deep dive into C storage classes — auto, register, static, and extern. Understanding scope, lifetime, linkage, and memory segments.

Enums in C

Instead of writing numeric values directly in the code, enums make programs easier to read and maintain.

Strings in C programming

Unlike languages such as Java, Python, or C++, C does not have a built-in String data type. Instead, a string is represented as an array of characters.

File Handling in C Programming

File handling lets a C program read from and write to files stored on disk, so data survives after the program ends.

C Programming Interview questions

This is a curated set of the C programming questions that come up most often.

Dynamic Memory Allocation in C

Comprehensive guide to dynamic memory allocation in C — malloc, calloc, realloc, free, memory leaks, dangling pointers, and best practices.