Question from the Language C - Fundamentals test

How to pass arguments to a function in C

Easy

What should I replace the “?” in statement line 4?

    void powCalc(int a, int* square, int* cube);
    int main()
    {
        int root = 2; square_root;cube_root;
        powCalc(root, ?square_root, ?cube_root);
        return 0;
    }
    void powCalc(int a, int* square, int* cube);
    {
        *square = a*a;
        *cube= a*a*a;
    }
Author: KahinaStatus: PublishedQuestion passed 13 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!