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


Tell me why can't constant values be used to define an array's initial size



Tell me why can't constant values be used to define an array's initial size..

Answer / Kishor Kumar

This is because in most programming languages, the size of an array must be a variable or expression that evaluates to a non-negative integer value at compile time.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Which is faster array or linked list?

1 Answers  


Define ancestor and descendant ?

1 Answers  


Calculate the efficiency of sequential search?

1 Answers  


Does array sort mutate?

1 Answers  


Can we add elements to final list?

1 Answers  


What are the types of Collision Resolution Techniques and the methods used in each of the type?

1 Answers  


How does a heap sort work?

1 Answers  


What is linked list in data structure?

1 Answers  


Explain binary representation?

1 Answers  


Is hashmap sorted?

1 Answers  


Run time memory allocation is known as in data structure?

1 Answers  


What are the types of linked list?

1 Answers  


Categories