what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}
Answer Posted / tasneemuddin
The result of this program will be:
you have to enter two int numbers
output : 2 <the last number entered>
| Is This Answer Correct ? | 12 Yes | 6 No |
Post New Answer View All Answers
Explain argument and its types.
What is anagram in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
Why do we use main function?
What are the different types of pointers used in c language?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Explain what are preprocessor directives?
How can you tell whether a program was compiled using c versus c++?
What is a program flowchart and explain how does it help in writing a program?
When a c file is executed there are many files that are automatically opened what are they files?
Difference between macros and inline functions? Can a function be forced as inline?
Explain what is the benefit of using enum to declare a constant?
Write a program to generate random numbers in c?
Explain logical errors? Compare with syntax errors.