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
What is the maximum no. of arguments that can be given in a command line in C.?
What is bss in c?
Which built-in library function can be used to match a patter from the string?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is scope rule of function in c?
What is wild pointer in c with example?
How can I make it pause before closing the program output window?
Can we use any name in place of argv and argc as command line arguments?
Simplify the program segment if X = B then C ← true else C ← false
What are the different types of C instructions?
What are the application of void data type in c?
Who is the main contributor in designing the c language after dennis ritchie?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What is a double c?
What is the use of header?