Create a declaration to store the string


Discuss the below:

Q: Create a declaration to store the string "This is a sample" in an array named samtest. Include the declaration in a program that displays the values in samtest in a for loop that uses a pointer to access each element in the array.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Create a declaration to store the string
Reference No:- TGS01936083

Now Priced at $25 (50% Discount)

Recommended (91%)

Rated (4.3/5)