C Programming & Data Structures

47 articles in this topic

Arrays and Pointers in C: Complete Guide with Worked Examples for GATE and Interviews

Build one clear mental model for C arrays and pointers. Trace addresses, decode tricky expressions, solve a 2D-array numerical, and practise an in-place reversal.

Updated 9 Aug 20266 min read223 viewsC Programming & Data Structures

C Programming for GATE: Syllabus Areas, Weightage Pattern and How to Prepare

Understand where C fits in GATE CS, what exam questions test, and how to build reliable tracing skills through pointers, recursion and structured practice.

Updated 6 Aug 20265 min read168 viewsC Programming & Data Structures

C Programming by Yash Sir: Complete Guide with Worked Examples

Build C from evaluation rules to pointers with worked output traces, a recursion call stack, memory diagrams, common traps, and a clear route into exam and placement practice.

Updated 4 Aug 20267 min readC Programming & Data Structures

Dynamic Memory Allocation in C: malloc, calloc, realloc and the Bugs Exams Test

Follow one resizable integer array from allocation to release. The worked trace explains byte counts, preserved values, uninitialised elements and the safe temporary-pointer pattern.

Updated 1 Aug 20266 min readC Programming & Data Structures

Arrays and Strings in C: Array-to-Pointer Decay, sizeof Traps and 2D Address Arithmetic

Learn what an array name means in C, why sizeof changes across a function boundary, and how to calculate 1D and 2D element addresses without guessing.

Updated 30 Jul 20265 min read138 viewsC Programming & Data Structures

Storage Classes in C (auto, static, extern, register): Scope, Lifetime and Exam Questions

Separate scope, lifetime, storage duration and linkage, then use one static-versus-auto program and a two-file extern example to predict exam answers.

Updated 29 Jul 20266 min read50 viewsC Programming & Data Structures

DMA, Interrupts and Programmed I/O for GATE: Cycle-Stealing and Overhead Numericals Solved

Track who moves the data, who owns the bus and how often the CPU must intervene. Two worked numericals turn DMA and interrupt overhead into simple rate calculations.

Updated 24 Jul 20266 min read54 viewsC Programming & Data Structures

C Programming Interview Questions for Freshers: The 40 Asked in Vivas and Placement Drives

Prepare 40 common C questions with short interview-safe answers, then learn how to dry-run pointer mutation on a whiteboard.

Updated 22 Jul 20266 min readC Programming & Data Structures

Pointers in C for GATE: Memory Diagrams and Output Traces

Draw pointers as addresses in boxes, then trace double pointers, arrays, swaps and precedence without guessing. The worked outputs show the method GATE rewards.

Updated 20 Jul 20265 min read258 viewsC Programming & Data Structures

C programming for CS teaching exams: the concepts that get tested

C programming for teaching CS exams: data types, operators, control flow, functions and recursion, arrays, pointers and structures, with a worked example.

Updated 18 Jul 20267 min readC Programming & Data Structures

The TCS NQT Exam Structure, Explained Section by Section

The TCS National Qualifier Test is one of the widest doors into an IT career in India. Here is a clear, section-by-section breakdown of what it tests and how to prepare.

5 Jul 20264 min read530 viewsC Programming & Data Structures