| |
Answer/Explaination
:
Compiler error (in the line arr1 list = {0,1,2,3,4})
(Exp):
arr2 is declared of type array of size 5 of characters. So it can be
used to
declare the variable name of the type arr2. But it is not the case of
arr1.
Hence an error.
Rule of Thumb:
#defines are used for textual replacement whereas typedefs are used
for
declaring new types.
|
|