arrays + pointer

Discussion in 'C Programming' started by vutoma, Apr 11, 2018.

  1. vutoma

    vutoma

    Joined:
    Apr 11, 2018
    Messages:
    2
    Likes Received:
    0
    Write a function named add_arrays() that accepts two arrays that are the same size. The function should add each element in the arrays together and place the values in the third array.
    Modify the function you created to return a pointer to the array containing the totals . Place this function in a program that also displays the values in three arrays.
    help me send the solutions now please!!
     
    vutoma, Apr 11, 2018
    #1
    1. Advertisements

  2. vutoma

    vutoma

    Joined:
    Apr 11, 2018
    Messages:
    2
    Likes Received:
    0
    it should be done in C language
     
    vutoma, Apr 11, 2018
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.