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

4 is output

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

4001


What is the best organizational structure?

1173


Define macros.

1331


What is wrong with this initialization?

1065


Explain what is meant by high-order and low-order bytes?

1095


Is there any demerits of using pointer?

1124


Lists the benefits of c programming language?

1207


What are the storage classes in C?

1205


What are the benefits of c language?

1228


what is event driven software and what is procedural driven software?

2623


Explain is it better to bitshift a value than to multiply by 2?

1252


What is the difference between far and near ?

1246


How do I read the arrow keys? What about function keys?

1152


What happens if a header file is included twice?

1080


What are the functions to open and close the file in c language?

1089