Sep 8, 2024
int main()
function as the starting point.#include <stdio.h>
to include standard input-output functions.printf()
function for output.int
data type.%d
for integers.int
, float
, double
, char
.sizeof
operator to find the size of data types.scanf()
for input from the user.scanf()
similar to printf()
.//
./* ... */
.+
, -
, *
, /
, %
.++
) and decrement (--
) operators.0
(false) and 1
(true).==
, !=
, <
, >
, <=
, >=
.&&
(AND), ||
(OR), !
(NOT).printf
, scanf
) and user-defined functions.*
to define and dereference pointers.fopen
, fclose
, fgets
, fputs
.#include
, #define
.#define
for constant values or functions.