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

How can I implement sets or arrays of bits?

988


Explain the ternary tree?

967


What is a stream water?

1127


What is data structure in c language?

1056


What is structure data type in c?

970


What is the difference between local variable and global variable in c?

1163


What does 3 periods mean in texting?

1011


Can we declare variables anywhere in c?

947


Explain the difference between exit() and _exit() function?

1109


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

961


What is the general form of function in c?

974


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

1868


What is the use of #define preprocessor in c?

1025


What are qualifiers in c?

983


Is c pass by value or reference?

995