Question: 12. Suppose that a character string named my-name has been declared and allocated at length 100. Write a statement that would set its contents to
12. Suppose that a character string named my-name has been declared and allocated at length 100. Write a statement that would set its contents to your name. 13. Suppose that a character string named my-name has been declared and allocated at length 100. Write a printf statement that outputs to stdout the string variable's contents, followed by a newline. 14. Suppose you have two character string variables declared, allocated and filled with contents (some text). How would you tell whether the first string were less than, equal to or greator than the second string
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
