Question: Ieps/Technical Procedure 1. Consider the following declarations: char str1[]=Hello EET!; char str2[] = CET with EET; char str3[40]; char str4[40]; char str5[] = SET; Implement
![Ieps/Technical Procedure 1. Consider the following declarations: char str1[]="Hello EET!"; char](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66d03cf54daf7_12466d03cf4a0b88.jpg)
![str2[] = "CET with EET"; char str3[40]; char str4[40]; char str5[] =](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66d03cf60a4b2_12566d03cf59dc6a.jpg)

Ieps/Technical Procedure 1. Consider the following declarations: char str1[]="Hello EET!"; char str2[] = "CET with EET"; char str3[40]; char str4[40]; char str5[] = "SET"; Implement these items into program that use the strepy () function to copy str 1 into str2, SET students into str 3 , and str5 into str4. Output str1, str2, str3, str4, and str5, afterwards. Ex: str1 =xx Use a void function to accomplish this task. 2. Consider the following function that counts the number of words in a string: void words (char string[]) \{ int result =0,i=0; while (data [i] !=0 ) if (data [i++]== ' ') result++; if (data [0] !=0 ) result++; return(result) ; \} See page 115 of your textbook. Use this function to write a program to enter a string up to 100 characters and output the number of words. Trial Data EET and CET are our maiors Questions: 1. Consider Procedure 1. a. What was the output of Procedure 1? b. What was your function call statement? Simply write the one liner. 2. Consider Procedure 2. What was the output of Procedure 2? b. What was your function call statement? Simply write the one liner
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
