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

• What are the desirable attributes for memory managment?

0 Answers  


why we are declare the function in the abstract class even though we are declaring it in Derived class?

1 Answers   TCS,


What is destructor oops?

0 Answers  


What is OOPS and How it is different from Procedural Programming ?

23 Answers   HP, Infosys, Thyrocare,


how to tackle technical questions

1 Answers  






WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??

21 Answers   Biocon, MIT, NIIT,


What is nutshell in programming language?

1 Answers   Satyam, Tech Mahindra,


officer say me - i am offered to a smoking , then what can you say

0 Answers  


What is ambiguity in inheritance?

0 Answers  


How to overload postfix operator in c++

1 Answers   Mphasis,


what uses of c++ language?

3 Answers  


what is use to destroy an object? illustrate.

5 Answers   TCS,


Categories