Breaking News

Data Types In C Program Learn How Data Types Works With Atom Editor On Windows 10 #4

C supports the following basic data types: 
int - integer or a whole number. 
float - floating point or a number with fractional part. 
double - double-precision floating point value. 
char - single character
C has a built-in sizeof operator that gives the memory requirements for a particular data type.
printf
- statements in this program have two arguments.
- the 1st is the output string with a format specifier (%d)
- the 2nd argument returns the sizeof value.
- the final output, %d is replaced by the value in the 2nd argument.
2 types of data types:
Primitive data types
- int
- float
- char
- double
- long double
User define data types
- stack
- queue
- tree
- structure
- union
If you want to help and support the author. Then Click the Paypal link below.

No comments