#include stdio.h
int main()
{
double one,two;
double *po, *pt;
po=&one;
pt=&two;
scanf("%lf%lf", &one,&two);
printf("\nsum : %lf \ndiff : %lf \npro : %lf \nquo : %lf",
*po+*pt,*po-*pt,*po**pt,*po/(*pt));
getch();
}i think ur enjoying with pointer versions now you are perfect of arithmetic operations of two double numbers.if u want to learn more about on c with pointer version please always visit this site.i can accept you are enjoying with lot with C with pointer notation.
No comments:
Post a Comment