Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}

Answer Posted / vaibhav

the output will be
2(no. of inputs) <last number entered>

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sizeof () an operator and not a function?

1091


What is string constants?

1203


What is boolean in c?

1150


What does the && operator do in a program code?

1282


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5702


How to write c functions that modify head pointer of a linked list?

1033


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1647


Difference between goto, long jmp() and setjmp()?

1235


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1994


What does & mean in scanf?

1166


Explain the difference between strcpy() and memcpy() function?

1065


How can a process change an environment variable in its caller?

1236


What is the use of function in c?

1250


write an algorithm to display a square matrix.

2762


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1134