what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}

Answer Posted / suraj verma

It will return number of arguments taken
by scanf function which is two in this case
& the other value can be any garbage value.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c not oop?

543


How do you convert strings to numbers in C?

723


Explain what is gets() function?

642


What is the use of bitwise operator?

699


Explain what is the use of a semicolon (;) at the end of every program statement?

746






Explain what is the most efficient way to store flag values?

705


What are called c variables?

588


write a programming in c to find the sum of all elements in an array through function.

1716


Explain how do I determine whether a character is numeric, alphabetic, and so on?

662


what is ur strangth & weekness

1836


What does c mean before a date?

607


How can I remove the leading spaces from a string?

644


Explain how does flowchart help in writing a program?

642


What is the difference between mpi and openmp?

746


What is clrscr ()?

649