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

Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2753


What is the difference between mpi and openmp?

1291


What is extern variable in c with example?

995


How does struct work in c?

1086


How can I convert a number to a string?

1182


How can you draw circles in C?

1156


Ow can I insert or delete a line (or record) in the middle of a file?

1004


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1079


Differentiate abs() function from fabs() function.

1015


What is the purpose of sprintf?

1132


How do you define a function?

1027


What type is sizeof?

1039


Explain how to reverse singly link list.

1143


define string ?

1104


Why is c called "mother" language?

1289