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

what is the differance between pass by reference and pass by value.

7 Answers   Infosys,


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

0 Answers   ADP,


What is the difference between void main() and int main()?

1 Answers  


Explain heap and queue.

0 Answers   Aricent,


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

0 Answers  


How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran

0 Answers  


What is double pointer?

0 Answers  


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

0 Answers   MNC,


Can we add pointers together?

0 Answers  


How would you write qsort?

1 Answers  


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


What is malloc() function?

0 Answers  


Categories