Can we declare array size as a negative number?



Can we declare array size as a negative number?..

Answer / Virendra Singh

No, it's not possible to declare an array size as a negative number in most programming languages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Can we apply binary search algorithm to a sorted linked list, why?

1 Answers  


What is a linear search?

1 Answers  


What is perfect binary tree?

1 Answers  


Can we add heterogeneous elements into treemap?

1 Answers  


What do you mean by data and data structure?

1 Answers  


List some applications of tree-data structure?

1 Answers  


For which header list, the last node contains the null pointer?

1 Answers  


What is the purpose of sorting?

1 Answers  


What are the standard ways in which a graph can be traversed?

1 Answers  


What are the types of linked list?

1 Answers  


What is a bubble sort and how do you perform it?

1 Answers  


Why using cookie to store session info is a better idea than just using session info in the request?

1 Answers  


Categories