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

Is c++ the hardest language?

558


What is the best c++ book for beginners?

568


Differentiate between declaration and definition.

585


Where and why do I have to put the "template" and "typename" keywords?

578


What is an iterator?

684






We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

576


How is c++ different from java?

557


What do you mean by early binding?

599


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

698


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

601


Can you use the function fprintf() to display the output on the screen?

659


Is c++ high level programming language?

671


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

776


What can I use instead of namespace std?

637


What are the differences between the function prototype and the function defi-nition?

611