In most of the place i hv seen that the array format is like: int arr [5]; but here you r preferring to use int [5] arr; format. Is it really standard ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In most of the place i hv seen that the array format is like: int arr [5]; but here you r preferring to use int [5] arr; format. Is it really standard ?

2nd Jan 2016, 6:01 AM
Khandaker Maria Shabnam
Khandaker Maria Shabnam - avatar
3 Answers
+ 1
That format is mostly applicable to c++
25th Feb 2016, 9:40 AM
Hanis Hapsa
Hanis Hapsa - avatar
0
double[ ] temp... Good pratice
2nd Jan 2016, 4:53 PM
Richardson
Richardson - avatar
0
yes this is standard in java
21st Feb 2016, 11:43 PM
Masoud Farmani
Masoud Farmani - avatar