There is an array of characters having name course that has to-03142
There is an array of characters having name course that has to be initialized by string programming which of the following is the correct way to do this,<br>i. course[] = {p, r, o, g, r, a, m, m, i, n, g};<br>ii. course[] = programming ;<br>iii. course[12] = programming ;<br>iv. course = programming ;<br>Choose the correct options.
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.5.
There is an array of characters having name course that has to be initialized by string programming which of the following is the correct way to do this,
i. course[] = {p, r, o, g, r, a, m, m, i, n, g};
ii. course[] = programming ;
iii. course[12] = programming ;
iv. course = programming ;
Choose the correct options.
i. course[] = {p, r, o, g, r, a, m, m, i, n, g};
ii. course[] = programming ;
iii. course[12] = programming ;
iv. course = programming ;
Choose the correct options.
(i) and (ii) only
(i) and (iv) only
(i) and (iii) only
(ii) and (iii) only