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 / lucky

out put is 3 and it is correct

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c known as a mother language?

1243


What is the use of bit field?

1184


What are the types of pointers in c?

1029


Function calling procedures? and their differences? Why should one go for Call by Reference?

1089


What is size of union in c?

1028


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1176


What are different types of operators?

1046


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1988


Define macros.

1282


how do you programme Carrier Sense Multiple Access

1969


What is this infamous null pointer, anyway?

1061


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1006


What is array within structure?

1131


What is huge pointer in c?

1090


Why C language is a procedural language?

1042