Question: C programming array question 1. Log in to Linux. Make a new directory for this lab called Lab2. Place all of the files you create

 C programming array question 1. Log in to Linux. Make a
new directory for this lab called Lab2. Place all of the files
you create for this lab assignment in that directory 2. Create a
C programming array question

1. Log in to Linux. Make a new directory for this lab called Lab2. Place all of the files you create for this lab assignment in that directory 2. Create a header file named lab2functions h. In this file, place the following lines: #ifndef 1AB2FUNCTIONS #de fine L B2FUNCTIONS here is where your function prototypes go fendif 3. The following functions deal with arrays of characters I chose characters because I know you've had a lot of experience with integer arrays and it's time for a change For each of the functions below, place a one-line prototype in the header file Print a character array. Write a function called printCharArray that will print the elements of a char array, 10 per line. The values should be separated by one space. 1) an array of characters 2) the size of the array (an integer) Move letters to the front of a char array. Write a function named moveLetters that moves the letters toward the front of the array and moves everything else toward the back The respective order of the letters is not changed (See illustration below) Note: this is not "sorting the array The parameters to the function are 1) an array of characters 2) the size of the array (an integer) DO NOT make additional arrays. If you do, you'l receive a grade of zero for this function

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!