In C we are using "%d" for integer, "%f" for float values. Similarly what is to be used for a data of type double ?
What is the conversion specifier for a double data type in C language?
int x=5;
double y= (double)x ;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment