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

ryt answer is 3 for sure

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is structure padding and packing in c?

1033


What is a lookup table in c?

1079


What is wrong with this code?

1147


What is a newline escape sequence?

1072


What are the properties of union in c?

1027


What is hashing in c language?

1243


Who developed c language?

1056


Write a simple code fragment that will check if a number is positive or negative.

1123


What are the features of c language?

1039


What is #error and use of it?

1226


What are the differences between new and malloc in C?

1097


List some of the static data structures in C?

1171


how is the examination pattern?

1985


What is #line?

1029


What language is c written?

1008