Aug 19, 2024
.c
extension.#include <stdio.h>
for input/output functions.printf
for displaying output to the console.return 0;
to signify successful execution.int
: for integers.float
: for floating-point numbers (decimals).char
: for characters.scanf
to accept user input.fgets
for inputs including spaces.for
, while
, and do while
loops for repeated execution.void
for functions that do not return a value.*
to declare a pointer and &
to get the address of a variable.*
again to dereference a pointer to access the value stored at that address.fopen
to open files and fclose
to close them.fprintf
to write to files and fgets
to read from files.