Computer Science, asked by llmnsorill, 1 month ago

The statement print ("%d", 12); will print? 0 Error 12 10

Answers

Answered by agni123
0

Answer:

Printf("%d"printf("tim"));

A. Result in a syntax error

B. Outputs tim3

C. Outputs garbage

D. Prints tim and terminate abruptly

47: If abc is the input, then folloiwng program fragment

char x,y,z;

printf("%d",scanf("%c%c%c",&x,&y,&z));

results in

A. A syntax error

B. Garbage Values

C. Segmentation violation

D. Printing of

48:

What does the statement,

printf("%d",10?0?5:1:12);

prints :

A.

10

B.

5

C.

12

D.

1

Explanation:

hope it will help you

Similar questions