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

Answer Posted / shahzad

first variable is used to print the no of inputs and
remaining r used to print the values from the last
i.e.third second first.........so on..

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between functions getch() and getche()?

854


What is the purpose of sprintf?

838


Explain how do you determine whether to use a stream function or a low-level function?

871


What are the characteristics of arrays in c?

843


Differentiate between a for loop and a while loop? What are it uses?

943


How do you construct an increment statement or decrement statement in C?

1011


Why can’t we compare structures?

1069


Explain how can a program be made to print the name of a source file where an error occurs?

969


What are near, far and huge pointers?

856


What is a list in c?

813


What is the sizeof () a pointer?

761


how do you programme Carrier Sense Multiple Access

1752


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

908


What is the easiest sorting method to use?

854


What is the difference between %d and %i?

848