program
closed

closed by
286 views
1 votes
1 votes
closed with the note: Please see already solved questions here. This is irrelevant for GATE
main()
{
int a ;
char *x;
x = (char *)&a ;
a= 512 ;
x[0] = 2 ;
 x[1]  = 2;
  printf("%d\n",a);
}

 

how the o/p is 514 plz explain someone :)
closed by

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2