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

User Generated

nnthfgva929

Computer Science

Description


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

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer


Anonymous
I use Studypool every time I need help studying, and it never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Content

Related Tags