Question: 3. Task 2: Writing a C Program COMPILE RUN task2 Submit when you are ready. Check X Error: Pre command failed: task2.c: In function 'main':

 3. Task 2: Writing a C Program COMPILE RUN task2 Submit
when you are ready. Check X Error: Pre command failed: task2.c: In
function 'main': task2.c:21:6: error: expected or before 'printf! printf("Subject Code: *s", subject

3. Task 2: Writing a C Program COMPILE RUN task2 Submit when you are ready. Check X Error: Pre command failed: task2.c: In function 'main': task2.c:21:6: error: expected or before 'printf! printf("Subject Code: *s", subject code): #include int main() { //Printing codes here //declare and initialize char array named subjectcode char subjectcode[] = "CE0002L"; 1/declare and initialize char array named sub char sub [] = "Computer Fundamental and Programming"; //declare and initialize char array named magicwords char magicwords[] = "I love C Programming" 1/print all three char array in new line printf ("Subject Code: %s", subjectcode); printf(" Subject Description: %s", sub); printf(" Magic Words: %s", magicwords); return; 3 ting- se 3. Task 2: Writing a C Program Write a C Program that will meet the following output below: OUTPUT: Subject Code:CE0002L Subject Description: Computer Fundamentals and Programming Magic Words: I love C Programming

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!