+ 1
can i declare the values of int array to variables like this?also what if i want to enter the values to specific positions
int bd[][]={a,b,c,d,e,f}
6 Respostas
0
no you can't. the bd was an incomplete type.
try to fill some numbers to define the array.
+ 2
No
+ 2
1)The array bd is of datype integer and you're feeding it char values and that's illegal which will throw you an error.
2)As for your 2nd question yes you can insert in specific position but there are some prerequisites
www.sanfoundry.com/c-program-insert-element-specified-position-array/
the above website will guide you through the process it's basically manipulation done in array and before referring to this article see that your loops concepts are clear as well as you know nested loops well and that's all. I hope you take the efforts to understand it.
0
ok
0
thx
0
what if i want to enter the values to specific positions