Log In

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

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

voidmain(){

  char *str=”Hello world”;

  printf(“%d”,printf(“%s”,str));

}

(A)11Hello world(B)10Hello world(C)Hello world10(D)Hello world11(E)Compiler error

× How can I help?