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

Explain can static variables be declared in a header file?

1155


What does %d do?

1279


What are the ways to a null pointer can use in c programming language?

1137


Why is python slower than c?

1089


What is the best style for code layout in c?

1102


Is there sort function in c?

1020


What are the main characteristics of c language describe the structure of ac program?

1214


Explain the use of keyword 'register' with respect to variables.

1054


When do we get logical errors?

1127


What is string in c language?

1161


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

1253


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

1280


When can you use a pointer with a function?

1069


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1835


What is data type long in c?

1078