in Programming in C
1,367 views
3 votes
3 votes
What will be the output?

printf("%d",printf("tim"));
in Programming in C
1.4k views

2 Answers

3 votes
3 votes
Best answer

Output is tim3

printf returns Number of characters successfully printed so 3

selected by

2 Comments

U mean "tim3" rt?
1
1
yess
0
0
7 votes
7 votes

tim3

is the output the printf("%d",printf("tim")); statement.     printf("tim") prints tim and it returns no of characters printed.

edited by

Related questions