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 25 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
3
Write a C program that calculates the average of two notes.3
Find the sum of all even numbers in an array in C1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ? 2
Write a C program to calculate the total number of sweets.4
Undefined behavior.7
What is the size of a long long in C++?2
Write a C function to swap two integers.