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 / abhishek roy

Yes there is syntax error in printf statement but if write
printf("%d",i--)then The output for the given for loop is
5 3 1.

it is 100 % write....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1118


What is an expression?

1051


a program that can input number of records and can view it again the record

1908


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2174


What are the types of functions in c?

979


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1729


what are bit fields? What is the use of bit fields in a structure declaration?

2120


How can type-insensitive macros be created?

1168


Is python a c language?

1002


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

2067


What is nested structure with example?

1070


Tell us something about keyword 'auto'.

1071


Why c is procedure oriented?

1068


What's the best way of making my program efficient?

1100


What is modeling?

1047