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 will be the output of" printf("%d%d",scanf("%d%
d",&a&b));"

Answer Posted / satya

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

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

All technical questions

1993


Write a program to check prime number in c programming?

1100


Differentiate abs() function from fabs() function.

1022


is it possible to create your own header files?

1107


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1222


How can you draw circles in C?

1156


What is string concatenation in c?

1094


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1947


What is the use of linkage in c language?

1067


Is calloc better than malloc?

1024


Difference between Function to pointer and pointer to function

1089


Why doesnt that code work?

1188


When should a far pointer be used?

1137


Explain how do you convert strings to numbers in c?

1082


Can a file other than a .h file be included with #include?

1166