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));
}

Answers were Sorted based on User's Feedback



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

Answer / anitha

0 0

Is This Answer Correct ?    1 Yes 4 No

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

Answer / hari

without entering the values the output will not be
displayed.
no output

Is This Answer Correct ?    0 Yes 3 No

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

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

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

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

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

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 output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d&q..

Answer / 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

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

Answer / satish kondapalli

2 2

Is This Answer Correct ?    1 Yes 6 No

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

Answer / nitin sharma

ans 1 2

Is This Answer Correct ?    0 Yes 7 No

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

Answer / sundar

what input to give that number can display

Is This Answer Correct ?    0 Yes 7 No

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

Answer / rampoojan gupta

no out put

Is This Answer Correct ?    1 Yes 11 No

Post New Answer

More C Interview Questions

Is the following code legal? struct a { int x; struct a b; }

4 Answers  


What is a ternary operator in c?

0 Answers  


what are the static variables

8 Answers   HCL, iFlex, TCS, Wipro,


What is a rvalue?

0 Answers   Global Logic,


What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.

11 Answers   TCS,


what are the advantages of a macro over a function?

0 Answers   TCS,


Read two numbers from keyboard and find maximum of them?

1 Answers  


What are pointers in C? Give an example where to illustrate their significance.

0 Answers   Wipro,


What is calloc()?

0 Answers   Adobe,


What is anagram in c?

0 Answers  


What is the purpose of sprintf?

0 Answers  


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

0 Answers  


Categories