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

out put is 3 and it is correct

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between structure and union?

1144


Explain what is operator promotion?

1096


What is d scanf?

1100


What is the difference between near, far and huge pointers?

1107


What is the difference between memcpy and memmove?

1049


Why is c so important?

1070


What is the difference between class and object in c?

1187


Explain how are portions of a program disabled in demo versions?

1129


What is meant by initialization and how we initialize a variable?

1059


What is the difference between procedural and declarative language?

1155


What are multibyte characters?

1142


Why structure is used in c?

1202


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

1096


Is c is a middle level language?

1078


What is fflush() function?

1142