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

Explain how do you use a pointer to a function?

0 Answers  


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.

1 Answers  


what is linkage error when it occurs in c program

3 Answers  


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

0 Answers  


How are structure passing and returning implemented?

0 Answers  


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

0 Answers  


How does sizeof know array size?

0 Answers  


write a program to generate 1st n fibonacci prime number

2 Answers  


swap 2 numbers without using third variable?

0 Answers   IBS,


Can we assign integer value to char in c?

0 Answers  


What is the scope of static variable in c?

0 Answers  


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

0 Answers   HP,


Categories