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


What is the default size allocated for array in the
statement if size not specified
" int a[] "

Answers were Sorted based on User's Feedback



What is the default size allocated for array in the statement if size not specified " int a[..

Answer / tarun shedhani

It will result into an error saying "size of a is unknown or
zero"

Is This Answer Correct ?    45 Yes 6 No

What is the default size allocated for array in the statement if size not specified " int a[..

Answer / tarun shedhani

It will result into an error saying "size of a is unknown or
zero"

Is This Answer Correct ?    21 Yes 6 No

What is the default size allocated for array in the statement if size not specified " int a[..

Answer / nitish sahu

array is an user defined data type its default size is 2.

Is This Answer Correct ?    15 Yes 4 No

What is the default size allocated for array in the statement if size not specified " int a[..

Answer / karthik

BUT int a[]={0};
this will work

Is This Answer Correct ?    9 Yes 2 No

Post New Answer

More OOPS Interview Questions

When is a memory allocated to a class?

11 Answers  


what are the ways in which a constructors can be called?

0 Answers  


What is polymorphism explain its types?

0 Answers  


Contrast OOP and SOA. What are tenets of each?

1 Answers   Siebel Systems, Wipro,


Can enum be null?

0 Answers  


How do you define a class in oop?

0 Answers  


what is virtual function?

26 Answers   Aspire, HP, Infosys, RoboSoft, TCS,


Write a program to get the binary tree.

3 Answers   ABC,


what is oops

4 Answers   DELL,


Can we have inheritance without polymorphism?

0 Answers  


what are the disadvantages of C++?

25 Answers   ATS, Infosys, UNI, Wipro,


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

2 Answers  


Categories