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

how does the for loop work actually..suppose for the
following program how it ll work plz explain to me
for(i=5;i>=0;i--)
prinf(i--);

Answer Posted / rima

It will give compilatiin error "warning: passing argument 1
of âprintfâ makes pointer from integer without a cast",
because the syntax of printf is not right.
And it would have been printf("%d",i--);
Then correct answer is 531.


This is the correct answer rest all are wrong.[:)]

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the total generic pointer type?

1103


How does struct work in c?

1030


i have a written test for microland please give me test pattern

2665


Why c language is called c?

947


what is event driven software and what is procedural driven software?

2505


Where static variables are stored in c?

1039


How can I prevent another program from modifying part of a file that I am modifying?

1006


How can I trap or ignore keyboard interrupts like control-c?

1018


How many header files are in c?

981


Is it possible to initialize a variable at the time it was declared?

1172


what are non standard function in c

1847


When should a type cast not be used?

1003


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1907


What is extern c used for?

989


How can you call a function, given its name as a string?

1097