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

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

1197


What are pragmas and what are they good for?

991


What are high level languages like C and FORTRAN also known as?

1169


What oops means?

999


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1685


Simplify the program segment if X = B then C ← true else C ← false

3005


Does sprintf put null character?

1038


Does c have an equivalent to pascals with statement?

995


What are different types of pointers?

1068


What is scope rule of function in c?

1090


How important is structure in life?

1082


write a program to print data of 5 five students with structures?

2044


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

1043


Explain About fork()?

1113


Why c is a procedural language?

1052