Friday, March 5, 2010

43

typedef struct ss
{
char *a;
long b;
double c;
}srs;
int main()
{
srs r,*s;
s=&r;
s+=4;
printf("%d",s);
return 0;
}

Question:

If address of 'r' is 1000 then what would be the output?

Output:


1056

0 comments:

Post a Comment