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 boyce codd normal form in c++?
What should main() return in c and c++?
What is an operator function? Describe the function of an operator function?
What things would you remember while making an interface?
What are namespaces in c++?
How do you clear a buffer in c++?
Write a code/algo to find the frequency of each element in an array?
Define copy constructor.
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
Can you please explain the difference between static and dynamic binding of functions?
What is the difference between while and do while loop?
What is rtti in c++?
Differentiate between a constructor and a destructor in c++.
How can a called function determine the number of arguments that have been passed to it?
Differentiate between declaration and definition.