KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there any difference between these two declarations? int x[10]; vs. int* x = new int[10]; I suppose the former declaration (like the latter one) is a pointer declaration and both variables could be treated the same. Does it mean they are intrinsically the same?
Tags (comma-separated)
Save Edits
Cancel