What is the right way of initialize aaray in c?
Answers
Answered by
2
Answer:
Hey buddy here's ur answer.
Arrays may be initialized when they are declared, just as any other variables. Place the initialization data in curly {} braces following the equals sign. Note the use of commas in the examples below. An array may be partially initialized, by providing fewer data items than the size of the array.
Similar questions