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 / vyasaraj.s

The output is 3

Is This Answer Correct ?    21 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me when is a void pointer used?

1103


Explain how are portions of a program disabled in demo versions?

1074


What are logical errors and how does it differ from syntax errors?

1231


Is struct oop?

960


Explain high-order bytes.

1061


please give me some tips for the placement in the TCS.

2054


What is the scope of an external variable in c?

982


How can I swap two values without using a temporary?

1060


Explain what is the use of a semicolon (;) at the end of every program statement?

1184


Explain the binary height balanced tree?

1124


What is use of #include in c?

1089


What is function definition in c?

1018


What is the total generic pointer type?

1109


What are the advantages of union?

1023


What are the different types of data structures in c?

1112