+ 1

What is the difference between int arr[ ] and int [ ] arr

19th Feb 2017, 4:35 PM
VahramSahakyan
VahramSahakyan - avatar
2 ответов
+ 7
I've just googled)) and there is a difference. You can define multiple arrays of the same type with int [ ] arr1, arr2, arr3 ( but its not a best practice) And just one with int arr[ ]
19th Feb 2017, 4:57 PM
VahramSahakyan
VahramSahakyan - avatar
+ 4
Both give the same result. I don't know any functional difference..
19th Feb 2017, 4:54 PM
Ahmad Samy
Ahmad Samy - avatar