adplus-dvertising
frame-decoration

Question

printf ( "%d" , printf ( "tim" ) ):

a.

results in a syntax error

b.

outputs tim3

c.

outputs garbage

d.

prints tim and terminates abruptly

Posted under C Programming

Answer: (b).outputs tim3

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. printf ( "%d" , printf ( "tim" ) ):

Similar Questions

Discover Related MCQs

Q. Consider the statements:

putchar ( getchar ( ));
putchar(getchar( ));

If
a
b
is the input, the output will be

Q. Literal means

Q. Which of the following are true regardless of the implementation ?

Q. Choose the correct statements

Q. Choose the correct statements

Q. Choose the correct statements

Q. Which of the following comments about wide characters is/are true ?

Q. Which of the following is true of external variables?

Q. Choose the correct statements

Q. The declaration 

  int x : 4;

means

Q. As soon as a pointer variable is freed, its value

Q. Choose the correct statements

Q. Choose the correct statements

Q. If a variable can take only integral values from 0 to n. where n is a constant integer, then the variable can be represented as a bit-field whose width is the integral part of (the log in the answers arc to the base 2)

Q. In a C program constant is defined

Q. The rule for implicit type conversion is

Q. What is the correct way to round offx, a float, to an int value?

Q. By default, any real number in 'C' is treated as

Q. To print out a and b given below, which printf() statement would you use?

float a = 3.14;
double b = 3.14;

Q. When a variable of data type double is converted into float, then