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

Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not

9 Answers   Alcatel,


Which weighs more, a gram of feathers or a gram of gold?

2 Answers  


Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.

3 Answers   Google,


What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }

2 Answers  


Explain 'bus error'?

0 Answers  


In C language what is a 'dangling pointer'?

0 Answers   Accenture,


Why do we write return 0 in c?

0 Answers  


provide an example of the Group by clause, when would you use this clause

0 Answers  


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

0 Answers  


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

0 Answers  


What are pointers?

0 Answers   Accenture, Tavant Technologies, Zensar,


What is the explanation for modular programming?

0 Answers  


Categories