[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Technical Discussion :: C

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

Answer:

#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 *
Email
Alert me

Post Your Reply Here:

Report Error

Please Login First Click Here