Double data type

                                                        Double data type

Double is used to define big floating point numbers,it reserves twice the storage for the number .On PCs this likely to be 8 bytes.

Initialization:-

Syntax:-
double<value name>=<value>;

Example:-
double k=158.368;
printf("double:%lf",k);

Output:

double:158.368

Runtime  initialization of double type variable:-
scanf("%lf",&k);

Comments

Popular posts from this blog