KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Are arrays in C++ same as C?
Asked 2011-05-11T06:41:46.357
▲
10
▼
Does the C++ compiler treat the arrays same way as in C?
E.g
In C,
An array access using subscript operator is always interpreted as a pointer.
In function argument, array declarations are treated as pointer to start of element.
c++
c
arrays
Copy Link
Twitter
Facebook
LinkedIn
Share
Edit
Save
Report
Add comment
0 Answers
Your Answer
Post Your Answer