Explore BrainMass

Explore BrainMass

    Write a declaration to store the string in an array

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Write 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.

    © BrainMass Inc. brainmass.com October 10, 2019, 3:57 am ad1c9bdddf

    Solution Summary

    This solution helps write a declaration to store a string array in C.