C Programming & Data Structures

47 articles in this topic

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 29 Aug 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 26 Aug 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

Storage Classes, Structures and Enums in C: Worked Examples for GATE Output and sizeof Questions

Trace static variables across calls, calculate structure padding byte by byte, compare structures with unions, and follow enum values after an explicit jump.

Updated 21 Aug 20265 min readC Programming & Data Structures

Functions in C Programming: Complete Guide with Worked Examples

Learn how C functions behave in memory, why ordinary swaps fail, how arrays decay, and how recursive calls unwind through clear code traces.

Updated 19 Aug 20266 min readC Programming & Data Structures

Control Flow in C Programming: If-Else, Loops, Switch and Jump Statements with Worked Examples

Learn how C chooses, repeats and redirects execution. Trace common output questions step by step, including do-while, continue, switch fall-through and dangling else.

Updated 17 Aug 20265 min read91 viewsC Programming & Data Structures

Instruction Formats and Expanding Opcode for GATE: Solved Encoding Numericals

Treat every instruction format as a bit budget. A four-level worked example shows exactly how unused opcode patterns expand into the next instruction class.

Updated 15 Aug 20265 min readC Programming & Data Structures

C Programming Fundamentals: Complete Guide with Worked Examples for GATE and Placements

Build a reliable C foundation through traced outputs, pointer arithmetic, function calls, arrays, structures, recursion, and memory allocation.

Updated 13 Aug 20267 min readC Programming & Data Structures

Structured Knowledge Representation Models: Semantic Networks, Frames, Scripts and Worked Inheritance

Learn how structured knowledge models store relations, attributes and events. Trace defaults and exceptions through one exact Bird, Penguin and Pingu example.

Updated 11 Aug 20266 min readC Programming & Data Structures