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
Write a program to print ASCII code for a given digit.
What does the error 'Null Pointer Assignment' mean and what causes this error?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
What is the use of sizeof () in c?
What is methods in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is fflush() function?
What is keyword in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Explain b+ tree?
Is c call by value?
Which is better malloc or calloc?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
What is the g value paradox?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }