Computer Science, asked by rafimallickgals, 1 year ago

How is array declared?

Answers

Answered by Kuldeepjassi
1
for c language syntax is as follows
data type_array name[array size]={ elements };
example:-
int roll no.[5]={1,2,3,4};

rafimallickgals: Can I write only the example
Kuldeepjassi: i think u have to write both example as well as the syntax
rafimallickgals: OK thanks
Similar questions