Skip to main content

C Basics

C Basics — C examples with syntax, explanation and sample output.

1
C Basics

C Introduction

C Introduction explained in C, with a complete example program, its sample output, and a clear code walkthrough.

2
argc

Command Line Arguments in C (argc and argv)

Learn how to read command line arguments in C using argc and argv, with a complete example program and sample output.

3
C Basics

C History

C History explained in C, with a complete example program, its sample output, and a clear code walkthrough.

4
C Basics

C Specific Properties and Implementation

- Weak typing ? for instance, characters can be used as integers (similar to assembly)

5
C Basics

Hello World - Simple C Program

A C example program demonstrating Hello World - Simple C, complete with the source code and expected sample output.

6
C Basics

C Identifiers

C Identifiers explained in C, with a complete example program, its sample output, and a clear code walkthrough.

7
C Basics

C Reserved Words (Keywords)

A C example program demonstrating C Reserved Words (Keywords), complete with the source code and expected sample output.

8
C Basics

Escape Sequences in C

Escape Sequences In Character Escape Sequences In C,Symbol Escape Sequences In C,Advanced Escape Sequences In C

9
C Basics

C Character Set and Encoding

C Character Set and Encoding explained in C, with a complete example program, its sample output, and a clear code walkthrough.

10
data-types

Data Types in C Programming

Learn C data types — int, float, char, double, void — sizes, format specifiers and examples with sample output.

11
variables

Variables and Constants in C

Learn how to declare variables, assign values and define constants in C using const and #define.

12
type-conversion

Type Conversion in C

Learn implicit and explicit type conversion (casting) in C with examples, promotion rules and common pitfalls.

13
comments

Comments in C Programming

Learn single-line and multi-line comments in C — syntax, best practices and examples.

Related Topics

Search tutorials