identify errors ,if any, in each of the following initialization statements %26amp; 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]
Kindly solve the question C-programming language:?
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.
Reply:If you read your course notes I'm sure you'll find the answer to your homework !
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment