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

What are the types of arrays in c?

1091


Who invented bcpl language?

1116


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1808


How to throw some light on the b tree?

1016


Why doesnt this code work?

1004


Why enum is used in c?

893


What is a const pointer?

1035


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2364


If null and 0 are equivalent as null pointer constants, which should I use?

1116


What is c system32 taskhostw exe?

973


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1047


why wipro wase

2245


How do you list a file’s date and time?

1020


Explain what does a function declared as pascal do differently?

1205


What is a scope resolution operator in c?

1201