Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 34)
34.
An array name is a _____
Discussion:
2 comments Page 1 of 1.
Amr ELghadban said:
1 decade ago
We can say that an arry name is a pointer. I think it's the optimal solution to this question even it's not in the choses answers.
Ragavan said:
1 decade ago
S. If we print the array name it prints the memory address of array.
For Example:
int a[2]={10,20}
cout<<a;// prints starting memory address of array 'a'
cout<<*a;//prints the value in base address 10
For Example:
int a[2]={10,20}
cout<<a;// prints starting memory address of array 'a'
cout<<*a;//prints the value in base address 10
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers