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 / anil hooda

it will return any integer value.....

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What size is allocated to the union variable?

1052


What is using namespace std in c++?

1152


Differentiate between a constructor and a destructor in c++.

1012


How are Structure passing and returning implemented by the compiler?

1126


Explain what you mean by a pointer.

1099


What does the ios::ate argument do?

1181


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

1110


What is the extension of c++?

973


Why iomanip is used in c++?

1123


What is the difference between structure and class?

1257


Write a program which uses Command Line Arguments

1174


Why is c++ a mid-level programming language?

1035


What is difference between rand () and srand ()?

1079


What is lazy initialization in c++?

1100


What are c++ templates used for?

1134