arrays? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

arrays?

string threeD[42][8][3]; this is from tutorial. Where is double quotations when using strings?

14th May 2020, 6:10 PM
Kumudu_Mohottala
Kumudu_Mohottala - avatar
3 Answers
+ 6
String a[5][20]; a[0]="raj "; a[1]="warren"; .. . . In this way you can store 5 string which are name or anything.
14th May 2020, 7:26 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 3
Isn't it just declaration of three dimensional array? ,I don't see any string assigned to array here !
14th May 2020, 6:15 PM
Abhay
Abhay - avatar
+ 1
Ok... mistaken.. thnx
14th May 2020, 6:53 PM
Kumudu_Mohottala
Kumudu_Mohottala - avatar