#include<stdio.h>
#include<conio.h>
main()
{
int i=3,*x;
float j=1.5,*y;
char k='c',*z;
clrscr();
x=&i;
y=&j;
z=&k;
printf("\n Original Add. in x=%u",x);
printf("\n Original Add. in y=%u",y);
printf("\n Original Add. in z=%u",z);
x++;
y++;
z++;
printf("\n New Add. in x=%u",x);
printf("\n New Add. in y=%u",y);
printf("\n New Add. in z=%u",z);
getch();
}
#include<conio.h>
main()
{
int i=3,*x;
float j=1.5,*y;
char k='c',*z;
clrscr();
x=&i;
y=&j;
z=&k;
printf("\n Original Add. in x=%u",x);
printf("\n Original Add. in y=%u",y);
printf("\n Original Add. in z=%u",z);
x++;
y++;
z++;
printf("\n New Add. in x=%u",x);
printf("\n New Add. in y=%u",y);
printf("\n New Add. in z=%u",z);
getch();
}
No comments:
Post a Comment