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

What is null pointer in c?

950


What is the benefit of using an enum rather than a #define constant?

1176


What are local static variables?

1084


What is an array in c?

1004


What is data structure in c language?

1061


Tell me can the size of an array be declared at runtime?

990


Why we use int main and void main?

1021


What does the file stdio.h contain?

1001


Why do we use null pointer?

999


What does %d do?

1207


Why doesnt the call scanf work?

1140


Explain what is the difference between the expression '++a' and 'a++'?

1155


What is wild pointer in c?

1019


What is hash table in c?

976


When do we get logical errors?

1076