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
What is the best c c++ compiler for windows?
Write a program to add three numbers in C++ utilizing classes.
Discussion on error handling of C++ .
What is name hiding in c++?
Eplain extern keyword?
what are the types of Member Functions?
Difference between pointer to constant vs. Pointer constant
Describe Trees using C++ with an example.
What is ios flag in c++?
What is exception handling? Does c++ support exception handling?
what is Member Functions in Classes?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
C is to C++ as 1 is to a) What the heck b) 2 c) 10
Is it possible to provide special behavior for one instance of a template but not for other instances?
What are register variables?