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 is op?
for(c=0;c=1000;c++)
printf("%c",c);

Answer Posted / shruti

It will give a compilation error..

the for loop syntax is
for(initialize; condition ; inc / dec)

condition -> assignment operator is wrong..

there should be 2 equals ("==")..

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by preprocessor in c?

948


Does c have enums?

1027


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2500


Write the syntax and purpose of a switch statement in C.

1038


What is the difference between fread buffer() and fwrite buffer()?

1106


How can you check to see whether a symbol is defined?

1048


What is data type long in c?

1026


What are the different properties of variable number of arguments?

1103


What is scanf () in c?

1055


What are the advantages of external class?

1005


Give the rules for variable declaration?

1114


Is c a great language, or what?

1050


What is the best way to store flag values in a program?

1010


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2045


Can a pointer point to null?

1022