what is the output of
printf("%d",(scanf("%d",10));

Answer Posted / ansh

This code when executes on a Turbo C compiler requires an
input from user and is giving 1 as output if one enters a
numeral value and 0 otherwise.

Is This Answer Correct ?    18 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does s c mean on snapchat?

579


How can I split up a string into whitespace-separated fields?

560


How can I do serial ("comm") port I/O?

679


What is a nested loop?

641


Can i use “int” data type to store the value 32768? Why?

745






What is .obj file in c?

640


What are the storage classes in C?

616


What is the purpose of the statement: strcat (S2, S1)?

636


What are the features of c languages?

618


Why is void main used?

609


What are the functions to open and close file in c language?

721


What is function prototype?

603


I came across some code that puts a (void) cast before each call to printf. Why?

669


Why header files are used?

634


When should we use pointers in a c program?

618