Question: True/False (2 x 10 = 20) 1. The string Hello could be stored in the variable str declared as follows char str[5]; 2. The assignment
True/False (2 x 10 = 20) 1. The string "Hello" could be stored in the variable str declared as follows char str[5]; 2. The assignment operator-can be used for string assignment only when initializing a string variable in its declaration. 3. If "cat" is the value of the string variable str, then str[3] is the nul1 character. 4. The condition strl
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
