WAP in c++ to make matracs using array like 4 5 6\n 7 8 9\n 10 11 12\n . | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

WAP in c++ to make matracs using array like 4 5 6\n 7 8 9\n 10 11 12\n .

only in c++ or java. Thanks in advance.

27th Jun 2018, 8:42 AM
Abdul Hamid
Abdul Hamid - avatar
7 ответов
27th Jun 2018, 11:39 AM
John Wells
John Wells - avatar
+ 3
array is not a keyword. I'm not sure what you are referring to.
27th Jun 2018, 12:48 PM
John Wells
John Wells - avatar
+ 3
It is not a keyword. There does exist a standard template library class array so that might be why it shows as green. Trying to use a keyword would give you a compile error. You are free to reuse names from the libraries.
27th Jun 2018, 8:28 PM
John Wells
John Wells - avatar
+ 1
thanks bro.
27th Jun 2018, 12:02 PM
Abdul Hamid
Abdul Hamid - avatar
+ 1
Sir, In IDE it show me in green clour that i was talking about that its is keyword.
27th Jun 2018, 12:51 PM
Abdul Hamid
Abdul Hamid - avatar
+ 1
oky thanks.
28th Jun 2018, 12:48 AM
Abdul Hamid
Abdul Hamid - avatar
0
Sir, here is array as a int. but showing me like keyword. array is keyword.
27th Jun 2018, 12:30 PM
Abdul Hamid
Abdul Hamid - avatar