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 :) sumit goyal 1 asked Jul 2, 2017 • closed Jul 2, 2017 by Arjun sumit goyal 1 286 views comment Share Follow See all 0 reply Please log in or register to add a comment.