InterviewSolution
Saved Bookmarks
| 1. |
Give the declaration for a string called student, which holds up to 50 characters. Show two ways to initialize the string in the declaration. |
|
Answer» be declared in MANY WAYS some of the BEST and easy way is 1. Char student [] = “ abcd……. 50 char” .In this u can write how many characters you WANT to write. 2. Char student [50] = “ abcd……. 50 char” .In this, u can write up to 50 characters to write. |
|