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 / suresh reddy

The correct answer is

5
3
1

because

in for loop "i--" statement is there and again in printf
statement "i--" is there.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c basic?

1219


What is a buffer in c?

1052


Difference between strcpy() and memcpy() function?

1206


What is the maximum no. of arguments that can be given in a command line in C.?

1199


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

2223


Why do we use return in c?

1044


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1992


Can we change the value of static variable in c?

1076


What is the difference between new and malloc functions?

1177


Is null always equal to 0(zero)?

1094


What is openmp in c?

1064


Can math operations be performed on a void pointer?

1100


what is the syallabus of computer science students in group- 1?

2368


What does the function toupper() do?

1188


What is bubble sort technique in c?

1032