what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}
Answers were Sorted based on User's Feedback
Answer / hari
without entering the values the output will not be
displayed.
no output
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / shahzad
first variable is used to print the no of inputs and
remaining r used to print the values from the last
i.e.third second first.........so on..
| Is This Answer Correct ? | 0 Yes | 4 No |
Answer / anonymous
If u give the input as
1
2
then the output wil be
2
2
| Is This Answer Correct ? | 0 Yes | 4 No |
Answer / monish
The user will enter two nos. The output will be- 2 <First
no. entered>
| Is This Answer Correct ? | 3 Yes | 8 No |
what is the differance between pass by reference and pass by value.
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is the difference between void main() and int main()?
Explain heap and queue.
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran
What is double pointer?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
Can we add pointers together?
How would you write qsort?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
What is malloc() function?