Your Ad Here

Monday, August 4, 2008

Program : Pointer version

#include 
#include
int main()

{
float fno, *pf;
int ino, *pi;
pi=&ino;
pf=&fno;
scanf("%d", &ino);
*pf=*pi; // *pf=(float)*pi , both are same.
printf("%f",*pf);
getch();
}
i think now u got one program perfectly. please learn daily u will be enjoying with c language.
learn c always c is the basic of all computer languages.


if u want to learn DOT NET please visit this site
http://vishnu-info.blogspot.com/

No comments: