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

Why doesn't the code "a[i] = i++;" work?

Answer Posted / vignesh1988i

this line will work.... first the value of i will be in the array and then i will get incremented

Is This Answer Correct ?    11 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List out few of the applications that make use of Multilinked Structures?

2108


How many header files are in c?

983


Explain modulus operator. What are the restrictions of a modulus operator?

969


Explain what is gets() function?

1013


How do you declare a variable that will hold string values?

1104


Can you write the function prototype, definition and mention the other requirements.

1084


What are the primitive data types in c?

1006


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

2433


What happens if header file is included twice?

1089


Write a program to print ASCII code for a given digit.

1036


What is structure in c definition?

984


What is the code in while loop that returns the output of given code?

1896


What is a structure member in c?

956


Why #include is used in c language?

993


how should functions be apportioned among source files?

1058