The statement int a[5][5] = {{1}}; (A) sets all elements to 1, (B) sets a[0]0] to 1 and the remaining elements to zeroes, (B) sets only a[0][0] to 1, (D) fails on compilation. For initialization of a...


The statement int a[5][5] = {{1}}; (A) sets all elements to 1, (B) sets a[0]0] to 1 and the


remaining elements to zeroes, (B) sets only a[0][0] to 1, (D) fails on compilation.


For initialization of a 2D array, the inner braces are (A) mandatory for partial initialization,


(B) optional for partial initialization, (C) optional, (D) mandatory.




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here