0

arrays and pointers

so if i write int x[1] [2]={1,2,3};{4,5,6}; cin<<x[0] [0]<<endl; if i enter the wrong int (i.e anything but 1)will the code bug without an if statement

16th Jan 2017, 6:33 AM
jonathin
4 Respostas
+ 8
It will just crash.
16th Jan 2017, 6:45 AM
Karl T.
Karl T. - avatar
+ 1
if you create array you must point quantity strings and calumns
23rd Jan 2017, 3:05 PM
Студия весёлого карпа
Студия весёлого карпа - avatar
0
array is a similar exclusive data type
16th Jan 2017, 6:37 AM
ankit kumar
0
just a way to catagorize the data using the least amount of bits possible??
16th Jan 2017, 6:38 AM
jonathin