Log In

What Will Be Output If You Will Compile And Execute The Following C Code

What will be output if you will compile and execute the following c code?

voidmain(){

  int i=320;

  char *ptr=(char *)&i;

  printf(“%d”,*ptr);

}

(A)320(B)1(C)64(D)Compiler error(E)None of above