What will be the correct syntax to initialize all elements of-03275
What will be the correct syntax to initialize all elements of two-dimensional array to value 0?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.18.
What will be the correct syntax to initialize all elements of two-dimensional array to value 0?
int arr[2][3] = {0,0} ;
int arr[2][3] = {{0},{0}} ;
int arr[2][3] = {0},{0} ;
int arr[2][3] = {0} ;