Explain the rules for initializing an array variable.

      To initialize an array explicitly when you define it, you must use an initialization list: this is a comma-separated list of initializes, or initial values for the individual array elements, enclosed in braces.
 example:


   int X[4] = { 1, 2, 4, 8 };                        

0 Comment "Explain the rules for initializing an array variable."

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Loading...
இணைந்திருங்கள் 24 நேரமும்!! Like us on Facebook!)