English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

identify errors ,if any, in each of the following initialization statements & give reasoning:
a)int number[ ]={0,0,0,0,0};
b)float item[3][2]={0,1,2,3}
c)char word[ ] ={'a','r','a','a','y']
d)int m[2,4]

2007-08-11 06:57:50 · 2 answers · asked by rajev v 1 in Computers & Internet Programming & Design

2 answers

Try putting them through a compiler and see if you get any helpful errors (such as 'missing }') which might point you in the right direction.

2007-08-11 12:03:57 · answer #1 · answered by nibblesthemouse 4 · 0 0

If you read your course notes I'm sure you'll find the answer to your homework !

2007-08-11 14:02:39 · answer #2 · answered by stu_the_kilted_scot 7 · 2 0

fedest.com, questions and answers