what will be the output of" printf("%d%d",scanf("%d%
d",&a&b));"
Answer Posted / satya
main()
{
int a,b;
printf("%d,%d",scanf("%d%d",&a,&b));
}
=> do u mean above program's output...
=>output will be:2,whatever you enter value for b.
=>because scanf is a library fn which will return how many
arguements it processes, and second value
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is void main () in c?
Explain pointer. What are function pointers in C?
What are the types of type qualifiers in c?
What is a static variable in c?
Is it acceptable to declare/define a variable in a c header?
What do header files do?
What is p in text message?
Which header file is used for clrscr?
Is c++ based on c?
List some of the dynamic data structures in C?
What are 3 types of structures?
In c language can we compile a program without main() function?
Explain how can I convert a string to a number?
Using which language Test cases are added in .ptu file of RTRT unit testing???
Why is it important to memset a variable, immediately after allocating memory to it ?