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
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is the difference between mpi and openmp?
What is extern variable in c with example?
How does struct work in c?
How can I convert a number to a string?
How can you draw circles in C?
Ow can I insert or delete a line (or record) in the middle of a file?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Differentiate abs() function from fabs() function.
What is the purpose of sprintf?
How do you define a function?
What type is sizeof?
Explain how to reverse singly link list.
define string ?
Why is c called "mother" language?