what is an array

Answer Posted / nekkanti rajesh

an array is a collection of elements of a single data type
stored in adjacent


<data_type><variable_name>[<dimension_size>];
ex:

int arr[5];

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

969


What c++ is used for?

672


which operator is used for performing an exponential operation a) > b) ^ c) none

700


What is encapsulation in c++ with example?

667


What is the sequence of destruction of local objects?

632






Why do we need function?

681


Why do we use the using declaration?

774


How can I disable the "echo" feature?

696


What is the outcome of cout< a) 16 b) 17 c) 16.5

699


How important is c++?

619


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

3136


What is a dangling pointer in c++?

755


Write about the retrieval of n number of objects during the process of delete[]p?

661


What is the difference between while and do while loop? Explain with examples.

688


What is virtual methods?

765