RE: printf ("%d" ,printf {"tim") ); 1. results in a syntax error 2. outputs tim 3 3. outputs garbage 4. prints tim and terminates abruptly
The Answer is 2. printf function returns the number of characters printed so it returns 3 and tim is already printed due to the call to printf( tim ). So the output is tim 3.