Answer Posted / saranya
array is a collection of homogeneous data that shares a
common name and stored in a sequence of memory.
Syntax:
<data_type> <variable_name>[<dimension_size>];
ex:
int arr[5];
Where,
int is an integer datatype,
arr[5] is a variable name with size 5.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How does c++ structure differ from c++ class?
What is virtual base class?
How is data hiding achieved in c++?
What is near, far and huge pointers? How many bytes are occupied by them?
What data encapsulation is in c++?
What is the best free c++ compiler for windows?
What does #define mean in c++?
Why can’t you call invariants() as the first line of your constructor?
What is the difference between the compiler and the preprocessor?
what is a reference variable in C++?
Why is null pointer used?
What are static type checking?
What is setbase c++?
What are the effects after calling the delete this operator ?
Describe about storage allocation and scope of global, extern, static, local and register variables?