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

main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}

what will be the output?
}

Answer Posted / vijay

expression likes
num[i]=i++;
are always compiler dependent.
it is a bad programing to use such expression.

Is This Answer Correct ?    9 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Place the #include statement must be written in the program?

1089


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

3373


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1327


What are types of functions?

1080


What is a constant?

1113


What does double pointer mean in c?

1261


What is c system32 taskhostw exe?

1073


how to find anagram without using string functions using only loops in c programming

3241


What is c standard library?

1271


Hi can anyone tell what is a start up code?

2139


what is the format specifier for printing a pointer value?

1076


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1284


How can I dynamically allocate arrays?

1167


How can I find out how much free space is available on disk?

1106


What does 2n 4c mean?

1310