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

What are the 4 data types?

1055


Can 'this' pointer by used in the constructor?

1133


How many levels of pointers can you have?

1243


Are comments included during the compilation stage and placed in the EXE file as well?

1127


Can you explain the four storage classes in C?

1165


What is a dynamic array in c?

1217


What Is The Difference Between Null And Void Pointer?

1331


What is the difference between memcpy and memmove?

1084


Do you know the use of fflush() function?

1102


What is the difference between if else and switchstatement

2002


What's the right way to use errno?

1201


What is the difference between near, far and huge pointers?

1152


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

1133


Is there any data type in c with variable size?

1144


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2508