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 is costructor?

1 Answers  


What is the main difference between C++ and Java

11 Answers   TCS,


What is polymorphism what are the different types of polymorphism?

0 Answers  


What is the difference between an object and a class?

3 Answers  


What is polymorphism explain?

0 Answers  






What is abstraction with example?

0 Answers  


how do you handle yourself when you feel the wald is aganist you

2 Answers  


Write A Program using Single and Multiple Inheritance.

1 Answers  


What does and I oop mean?

0 Answers  


Is enum a class?

0 Answers  


what's the basic's in dot net

0 Answers   informatics,


What is Dynamic Polymorphism?

13 Answers  


Categories