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

What is keyword in c?

1022


How pointers are declared?

969


Is null always equal to 0(zero)?

1045


How can I write a function analogous to scanf?

1198


Explain 'bit masking'?

1096


Why & is used in c?

1201


What is use of bit field?

1309


List some basic data types in c?

1038


What is new line escape sequence?

1362


Was 2000 a leap year?

1062


Explain how do you use a pointer to a function?

1121


Can you assign a different address to an array tag?

1181


What are integer variable, floating-point variable and character variable?

1268


Where in memory are my variables stored?

1195


What is the difference between malloc() and calloc() function in c language?

1093