Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Technical Discussion :: C

42. How would you write printf statement without using ";".


#include <stdio.h>

int main(){

    if(printf("q4 Interview")){        


note that printf returns the value printed to stdout so the above program prints q4 interview

Asked In :: Aricent Syntel Inc.

Post Your Answer Here:

Name *
Alert me

Post Your Reply Here:

Report Error

Please Login First Click Here