Primary Datatypes in C language


Datatype ----- Format String ----- Range
================================================
int (2 bytes)-- --- %d -------- (-32,768 to +32,767 )
float (4 bytes)---- %f -------- (-3.4 E 10^38 to +3.4 E 10^38 )
char (1 byte)----- %c , %s ---- It represents all ASCII values
long (4 bytes)---- %ld -------- (-2,147,483,648 to +2,147,483,647)
double (8 bytes)-- %lf --------- 1.7 E-308 to 1.7E+308
=================================================

#vpsinghrajput

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 comments:

Post a Comment