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
Discuss the function of conditional operator, size of operator and comma operator with examples.
What is define c?
What is an example of structure?
how is the examination pattern?
Can include files be nested? How many levels deep can include files be nested?
What is the purpose of main() function?
What is the use of c language in real life?
What are the different types of C instructions?
what is the structure pointer?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Explain spaghetti programming?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What 'lex' does?
Can a variable be both constant and volatile?