Question:Which of the following is the correct way of initializing a two-dimensional array? 

A char str[2][4]={ "abc", "def" }; 

B char str[2][4]={ {"abc"}, {"def"} }; 

C char str[2][4]={ {'a','b','c','\0'}, {'d','e','f','\0'} }; 

D all 

E none 

+ Answer
+ Report
Total Preview: 926

Copyright © 2024. Powered by Intellect Software Ltd