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

why overriding?

3 Answers  


i got a backdoor offer in process global,Bangalore..Can i work with it?

0 Answers  


why constructor cannt be declar virtually? why destructor cannt be overloaded?

2 Answers   Infosys,


Which language is not a true object oriented programming language?

0 Answers  


What is encapsulation?

17 Answers   TCS,






What is Virtual Keyword?

9 Answers   IBM, NA,


What is conditional Compilation?

3 Answers   emc2, HCL,


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

1 Answers  


What do you mean by binding of data and functions?

3 Answers  


what is the difference between <stdio.h>and "stdio.h"?

5 Answers  


write a progra in c++ using class & object to find out wheather a given no. is prim or not.

2 Answers  


Which is the only operator in C++ which can be overloaded but NOT inherited?

8 Answers  


Categories