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

Answer Posted / kamal

scanf() returns integer value for number sucessful entry taken.
Due to this cause of taking integer value at address 10 it
will print 1 otherwise 0;

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the return type of sizeof?

599


Explain what is a stream?

613


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2338


How can I write a function that takes a format string and a variable number of arguments?

609


Do you know null pointer?

616






hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1667


Can we change the value of constant variable in c?

580


What is abstract data structure in c?

533


Tell me what is null pointer in c?

617


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

662


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2457


What is the difference between scanf and fscanf?

671


Are the variables argc and argv are always local to main?

576


What does sizeof int return?

597


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

1601