we can share the knowledge with our friends. So they can share with their friends. and so on...
Finally You can turn back ...how many of them stand behind you....
Monday, January 4, 2010
Program to add two number using pointers.
#include
#include
void main()
{
int *p1,*p2,sum;
clrscr();
printf("enter two no's: ");
scanf("%d%d",&*p1,&*p2);
sum=*p1+*p2;
printf("sum=%d",sum);
getch();
}
No comments:
Post a Comment