what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}
Answer Posted / vantees
First of all, we need to give two integer number as input.Since scanf return the no of arguments passed to it, except format specifier.So out is: 2,unknown value
| Is This Answer Correct ? | 2 Yes | 7 No |
Post New Answer View All Answers
Write a program to generate random numbers in c?
What is the purpose of scanf() and printf() functions?
what are bit fields in c?
What is the difference between variable declaration and variable definition in c?
Which is better between malloc and calloc?
How will you find a duplicate number in a array without negating the nos ?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Where static variables are stored in c?
c program for searching a student details among 10 student details
What is the size of a union variable?
Explain the array representation of a binary tree in C.
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is identifiers in c with examples?
What are the benefits of c language?
What are the 4 types of organizational structures?