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

Answer Posted / nani

The result of this program will be:
you have to enter two int numbers
output : 2 <the last number entered>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a MAC Address?

811


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

998


What are the 4 types of organizational structures?

805


Explain how does free() know explain how much memory to release?

763


What is nested structure?

766


What does s c mean in text?

809


Differentiate between Macro and ordinary definition.

961


What is difference between main and void main?

844


How can I read and write comma-delimited text?

822


Explain spaghetti programming?

936


Tell us the use of fflush() function in c language?

871


List some basic data types in c?

752


What is a sequential access file?

852


What are directives in c?

732


What does 3 periods mean in texting?

798