Can someone explain the output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone explain the output

#include<stdio.h> int main() { int a; char *x; x = (char *) &a; a = 512; x[0] = 1; x[1] = 2; printf("%dn",a); return 0; }

25th Aug 2019, 5:40 PM
Preity
Preity - avatar
0 Answers