Home » , , » Fundamental Data Type - Double Type Variable

Fundamental Data Type - Double Type Variable

Written By Unknown on Monday, October 7, 2013 | 11:58 AM

Double Type Variable :

Double type variable is as like float type variable.8 byte memory will be allowed for double type variable.The highest value for double type variable is 1.7*10^+308 and the lowest value is 1.7*10^-308.

Watch The Program Carefully :

#include<stdio.h>
#include<conio.h>
main()
{
double dl;
clrscr();
dl=123.12;
printf("Value of dl is %e",dl);
dl=1234.12;
printf("\n Value of dl is %e",dl);
getch();
}

OUTPUT : 

Value of dl is 1.231200e+02
Value of dl is 1.234120e+03
Share this article :

Post a Comment

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Learn Programming - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger| Distributed by Rocking Templates