need help thanks If a member of a class is _______,you cannot access it outside
ID: 3636108 • Letter: N
Question
need help thanks
If a member of a class is _______,you cannot access it outside the class. public private protected static The string "welcome" is to be stored in the character array str. What should be the minimum size of str? 7 8 10 None of these Which of the following correctly declares and initializes alpha to be an array of 4 rows and 3 columns and the component type is int? int alpha[4][3] = {{0,1,2} {1,2,3}} {2,3,4} {3,4,5}}; int alpha [4][3] = {0,l,2; 1,2,3; 2,3,4; 3,4,5}; int alpha[4] [3] = {0,1,2; 1,2,3; 2,3,4; 3,4,5}; int alpha[4][3] = {{0,1,2}, {1,2,3}, {2,3,4}, {3,4,5}}; consider the following statement. int list[10][8]; Which of the following about list is true? list has 10 rows and 8 columns. list has 8 rows and 10 columns. list has a total of 18 components. None of these Give the declaration Which of the following correctly finds the sum of the elements of the fifth row of sale?Explanation / Answer
Dear,
27. private
28. 7
29.int alpha[4][3]={{0,1,2},{1,2,3},{2,3,4},{3,4,5}};
30.The list has 10 rows and 8 columns
31. option(b)
sum=0 ;
for(j=0; j< 7; j++)
sum=sum+sale[4][j];
Hope this will help you..
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.