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

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

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of objects used in c?

1082


What is the purpose of main() function?

1306


What do you understand by normalization of pointers?

1101


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4259


How to set file pointer to beginning c?

1249


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1919


What is the difference between arrays and pointers?

1174


Is there a way to jump out of a function or functions?

1165


Write a program to find factorial of a number using recursive function.

1180


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2413


What are the scope of static variables?

1255


Write a program to print “hello world” without using semicolon?

1183


Differentiate between #include<...> and #include '...'

1116


What is the default value of local and global variables in c?

1099


Can we compile a program without main() function?

1181