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

output
2

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is && in c programming?

1227


can we change the default calling convention in c if yes than how.........?

2593


How do you view the path?

1185


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

2049


Do variables need to be initialized?

1113


What is unsigned int in c?

1057


When is a “switch” statement preferable over an “if” statement?

1213


What type of function is main ()?

1091


What is a node in c?

1025


Explain what are bus errors, memory faults, and core dumps?

1317


Explain the red-black trees?

1203


What is the use of a static variable in c?

1111


how could explain about job profile

1989


When should you use a type cast?

1189


What is ctrl c called?

1103