Skip to main content

Fundamentals for C Programmings

C fundamentals are the core language pieces every program uses: the basic types such as int, char and double, operators, and control flow with if, loops and switch, plus functions with parameters and return values. Execution starts at main, and the compiler checks types strictly but trusts the programmer about much else.

Stage: Language Basics · Part of the C Programming roadmap · Last reviewed 19 November 2026

What to learn in Fundamentals

Fundamentals interview questions

What is the difference between a declaration and a definition in C?

A declaration tells the compiler a name and its type exists, such as a function prototype or extern variable. A definition actually creates it, allocating storage or providing the function body. A name can be declared many times but defined once.

Why does C pass arguments by value?

Each function receives a copy of the arguments, so changes inside the function do not affect the caller's variables. To modify the caller's data, you pass a pointer to it, which is still a value, namely the address.

Where Fundamentals fits in the C Programming roadmap

Fundamentals belongs to the Language Basics stage (beginner level), which takes about 30 hours. Syntax and types.

Back to the full C Programming roadmap