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...

int main()
{
int i ,a[i];
i = 0;
a[i] = 10;
cout<< a[i] << endl;
return 0;


}

What will be output of this program?

Answer Posted / blacky

Compiler will Core Dump

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a porgram in c++ that reads an integer and print the biggest digit in the number

2206


Can I run c program in turbo c++?

968


Why is "using namespace std;" considered bad practice?

1036


What is the difference between passing by reference and passing a reference?

1023


What is the main purpose of overloading operators?

1054


What is the operator in c++?

1071


Why can’t you call invariants() as the first line of your constructor?

957


What is the difference between method overloading and method overriding in c++?

1080


What is c++ course?

984


Write a program to find the Fibonacci series recursively.

1024


What is general format for a prototype?

973


How does the copy constructor differ from the assignment operator (=)?

1088


Is recursion allowed in inline functions?

1032


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

945


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

1950