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

The result of this program will be:
you have to enter two int numbers
output : 2 <the last number entered>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what does a function declared as pascal do differently?

1345


What are 'near' and 'far' pointers?

1093


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

2232


Why void main is used in c?

1104


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1689


Differentiate call by value and call by reference?

1027


Do pointers store the address of value or the actual value of a variable?

1125


Explain the difference between malloc() and calloc() in c?

1102


Explain how do you determine the length of a string value that was stored in a variable?

1199


Write a program to print all permutations of a given string.

1236


What language is lisp written in?

1325


What is gets() function?

1191


What does. int *x[](); means ?

1136


Explain continue keyword in c

1065


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

5503