1. Engineering
  2. Computer Science
  3. c programming create a header file named lab2functionsh in this...

Question: c programming create a header file named lab2functionsh in this...

Question details

C programming:

Create a header file named lab2functions.h. In this file, place the following lines:
     #ifndef LAB2FUNCTIONS
     #define LAB2FUNCTIONS
     // here is where your function prototype will go
     #endif

Write a SIMPLE C program that completes the following:

Replace all of the lowercase letters in the array with the corresponding capital letters. Write a
function named capitalize that looks for lowercase letters in the array. When a lowercase letter is
found, the array element should be changed to the corresponding capital letter. The parameters to
the function are:
1) an array of characters
2) the size of the array (of type size_t )

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution