Question: (C language) Consider the two variables below. (5 marks) char amessage[] = now is the time; char *pmessage = now is the time; I. What

(C language) Consider the two variables below. (5 marks)

char amessage[] = "now is the time"; char *pmessage = "now is the time";

I. What is the difference between the two variables amessage and pmessage? (1 mark) II. Write a C code to change the character t from time to uppercase T in the variable amessage. (5 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!