& that is used in scanf is called address of operator it helps you reach the memory and share the input value.
Int a = 10;
10 is stored in a block of memory in ram with the name of a.
with sizeof(datatype) (function or operator) we can find how many bytes of data is taken by that data type.
we can enter simply int, char, float or their variable name as well.
int is of many type like long short and same is the case with many other data types as well.
char is written in single quotes ‘c’
ascii value - american standard code for information interchange
originally it was of 7 bit but was extended to 8 bit.
32 ascii value is a blank space..
0-127 earlier ascii values after extending 127-255 these were added
ascii values are characters not integer…
48-57 ascii value —→ (0-9)
65-90 ascii value —>(A-Z)
97-122 ascii value —> (a-z)