please help ... C programming

General software, Operating Systems, and Programming discussion.
Everything from software questions, OSes, simple HTML to scripting languages, Perl, PHP, Python, MySQL, VB, C++ etc.
Post Reply
toriiiiiico

please help ... C programming

Post by toriiiiiico »

please give me some advice or coding to solve these questions...
-------------------------------------------------------------------------
Write the following functions and an appropriate driver program to test them:
a. A function that receives an character array address and array length and then initializes the
array elements to the letter A.
b. A function that receives an integer array address, array length and an integer value and then
initializes the array elements to the integer value.
c. A function that receives an integer array address and array length and then initializes the array
elements to even numbers, starting at 2.
d. A function that receives an integer array address and array length and then returns the
average of the first and last array elements.
-------------------------------------------------------------------------
Write your own version of the following library functions and an appropriate driver program to test
them:
strcpy()
strcat()
strlen()
--------------------------------------------------------------------------
User avatar
striker8000
Posts: 881
Joined: Tue Mar 02, 2004 5:28 pm
Location: lost in time

Post by striker8000 »

hey thanks, I haven't had a decent trivial problem since I graduated, now if you'll post some code, we'll see if we can help you.
still folding away, haven't been on as much lately
Post Reply