https://www.w3schools.com/c/index.php
gcc index.c -o compiledBinary && ./compiledBinary
Format specifier | Used for | Example |
---|---|---|
%d or %i |
integer data type | 2 |
%f |
float data | 23.56 |
%c |
Character | K |
%s |
String | shehzad |
%p |
Pointers | &Memory addresses |
Keywords are reserved name that have some pre-defined meaning in C language.
auto | double | int | struct | break |
else | long | switch | case | enum |
register | typedef | char | extern | return |
union | ||||
continue | for | signed | void | |
do | if | static | while | |
default | goto | sizeof | volatile | |
const | float | short | unsigned |