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

Stimulate calculator using Switch-case-default statement for two numbers

3036


What is page thrashing?

1140


What is the condition that is applied with ?: Operator?

1182


What is the purpose of the statement: strcat (S2, S1)?

1223


What are reserved words with a programming language?

1202


What is c value paradox explain?

1161


What are dangling pointers in c?

1350


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

1289


What are the keywords in c?

1173


What does p mean in physics?

1095


what will be the output for the following main() { printf("hi" "hello"); }

11162


How many data structures are there in c?

1170


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

2251


What are data structures in c and how to use them?

1220


What is a loop?

1112