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

Correct Answer is 3.

Do not post wrong answer.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can 'this' pointer by used in the constructor?

1040


What is typedef?

1323


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

1181


What is %lu in c?

1172


Why do we use namespace feature?

1002


What are static variables in c?

1026


What is a #include preprocessor?

1072


What are the string functions? List some string functions available in c.

947


What are 'near' and 'far' pointers?

982


What is the difference between test design and test case design?

2024


What are the different types of pointers used in c language?

992


How to write a multi-statement macro?

986


Can a program have two main functions?

1056


What is atoi and atof in c?

1024


What is multidimensional arrays

1061