free c programming course
Friday, 29 May 2009
function which is returning float data type
float find();void main(){ float num; num=find(); clrscr(); printf("%f",num); getch();}float find(){ float f=.005f; f=(double)f; return f;}Output: 0.005000
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment