what will be the output of" printf("%d%d",scanf("%d%
d",&a&b));"

Answer Posted / pusuluri leela prasad

first it will return no of values that scanf can return and
second it will return first value of the scanf statement

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string function c?

558


What is context in c?

529


Is null always defined as 0(zero)?

601


Can include files be nested?

619


What are the disadvantages of c language?

610






What does static variable mean in c?

641


Why is this loop always executing once?

607


What should malloc(0) do?

604


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

643


Write a progarm to find the length of string using switch case?

1598


What is the difference between struct and union in C?

556


What is the use of bit field?

625


What was noalias and what ever happened to it?

584


What does typeof return in c?

631


What is maximum size of array in c?

574