Adder

Implement the function

        void add(int* in1, int* in2, int* out, int size);

that receives three arrays of the given size, adds in1 and in2, and
stores the result in out.

For example, for these input arguments

        in1 = [1, 2, 3, 4, 5]
        in2 = [6, 7, -3, 0, 1]
        size = 5

your function should store the following in out:

        out = [7, 9, 0, 4, 6]

Observation

You only need to submit the required procedure; your main program will
be ignored.

Problem information

Author: Xanadu Trading

Generation: 2026-01-25T22:33:49.064Z

© Jutge.org, 2006–2026.
https://jutge.org
