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
Is fortran still used in 2018?
What are enumerated types?
Explain enumerated types.
What are the valid places to have keyword “break”?
Why is python slower than c?
What is the explanation for cyclic nature of data types in c?
What is difference between static and global variable in c?
Differentiate between the expression “++a” and “a++”?
Who is the main contributor in designing the c language after dennis ritchie?
Is main a keyword in c?
Why is c platform dependent?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
what is event driven software and what is procedural driven software?
write a programming in c to find the sum of all elements in an array through function.
What is FIFO?