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...

main()
{
int a,b;
printf("%d,%d",scanf("%d%d",&a,&b));
}


=> do u mean above program's output...
=>output will be:2,whatever you enter value for b.
=>because scanf is a library fn which will return how many
arguements it processes, and second value
you are right mr.Satya but i found my self unable to
understand that for the first time scanf returns the no of
successful matches but how for the second time it returns
the value of 'b'.while a function should return the
same 'r' value every time.

Answer Posted / gulam sarwar chuwdhury

The output :2,the value of b

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the application of c?

1093


How do you use a 'Local Block'?

1166


Can two or more operators such as and be combined in a single line of program code?

1367


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3242


What is calloc()?

1070


What is the difference between typedef struct and struct?

1105


Is c easier than java?

1069


How can I change their mode to binary?

1109


Where can I get an ansi-compatible lint?

1145


Can a pointer be static?

1071


Explain the advantages of using macro in c language?

995


What are types of preprocessor in c?

1066


Explain what math functions are available for integers? For floating point?

1107


Are comments included during the compilation stage and placed in the EXE file as well?

1080


Write a function that will take in a phone number and output all possible alphabetical combinations

1044