Question: please do question 1 and 2 .. 3 @ 88% 11:22 loop.dcu.ie Private Q1. Write a function of the form void printSpacedString(char str[]) { /*

please do question 1 and 2 please do question 1 and 2 .. 3 @ 88% 11:22 loop.dcu.ie

.. 3 @ 88% 11:22 loop.dcu.ie Private Q1. Write a function of the form void printSpacedString(char str[]) { /* your code here */ } which takes as input any C-style string (ie, an array of char terminated with a '10' character) and prints each character in the string separated by a space. At the end of the line, your function should then print the number of characters in the string. Test your function by calling it from main() as printSpacedString("Hello World!"); which should print out exactly the following Hello world! 12 Q2. Write a function of the form int largest(int a, int b, int c, in td) { /* your code */ } which returns one of the values a, b, cord, whichever is the largest

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!