C Programming & Data Structures

89 articles in this topic

C Operators Explained: Precedence, Types and Worked Examples

Learn how C groups and evaluates operators, then trace arithmetic, masks, conditions, and a complete program that prints 4 5 21 1 39.

Updated 9 Sep 20266 min read100 viewsC Programming & Data Structures

Relationship Between Arrays and Pointers in C: Decay, Address Arithmetic and a Worked Memory Trace

See why an array is not a pointer, even when their displayed addresses match. Trace decay, pointer movement, sizeof, function parameters and bounds through one C array.

Updated 30 Oct 20265 min read165 viewsC Programming & Data Structures

Recursion with Pointers in C: Concepts, Traces and Worked Examples

Learn how local pointer copies interact with shared array memory, then trace one mutating sum and one reverse-print function from descent to unwind.

Updated 6 Sep 20266 min read79 viewsC Programming & Data Structures

C Programming Data Types Explained: Concepts, Conversions and Worked Examples

Learn how C declarations, literal types, conversions, sizeof and format specifiers work. Follow one complete calculation and correct common objective-question traps.

Updated 30 Oct 20266 min readC Programming & Data Structures

Data Types in C Explained: Ranges, Conversions and Worked Exam Examples

Learn how C types control ranges and conversions, then apply the rules to overflow, mixed arithmetic, sizeof and signed-unsigned exam questions.

Updated 3 Sep 20266 min read54 viewsC Programming & Data Structures

Character Pointers and Strings in C: Memory Layout, Worked Outputs and Exam Traps

Build a memory-first model for character pointers and C strings. Trace GATE to GITE and CAT to CBT, then check literals, bounds, terminators and capacity.

Updated 2 Sep 20266 min read102 viewsC Programming & Data Structures

C Programming for GATE: A 6-Week Topic-by-Topic Plan

Turn C revision into a 48-hour subject sprint. This plan moves from expressions and control flow to pointers, recursion, PYQ review, and timed mixed drills.

Updated 31 Aug 20265 min readC Programming & Data Structures

Coding Questions for GATE CS: Trace Outputs and Complexity Step by Step

Learn a reliable way to solve coding output and complexity questions. Three fully traced C examples cover loops, mutation, recursion and operation counts.

Updated 29 Aug 20265 min readC Programming & Data Structures

C Function Basics MCQs: 10 Solved Questions on Prototypes, Calls and Parameters

Solve 10 C function MCQs, then use the explanations to separate declarations, definitions, copied arguments, return values, static locals and scope.

Updated 30 Oct 20267 min readC Programming & Data Structures

File Handling in C: fopen, Read, Write, Append and Seek with Runnable Examples

Build safe C file workflows with text and binary examples. Write records, total them, append data, seek by byte offset, and handle failures.

Updated 30 Oct 20266 min readC Programming & Data Structures

Miscellaneous C Programming: Storage Classes, Operators, Type Conversion, Macros and Bitwise, Fully Solved

Learn the C rules behind predict-the-output questions, then apply them to five fully worked patterns covering static storage, precedence, conversions, macros and bits.

Updated 24 Aug 20265 min readC Programming & Data Structures

Dynamic Memory Allocation, Macros, Scoping and File Handling in C: Worked Examples

Trace four C concepts through code: grow an array without losing ownership, expand macros safely, resolve shadowed names, and process file records by return status.

Updated 23 Aug 20266 min readC Programming & Data Structures