Write a program using pointer to read in an array (element type is double) and print its element in reverse order.
Write a function to swap the elements of two arrays (element type is double).
Write a function “bool Area (parameters)” that takes four parameters, three sides (double a, b and c) and a pointer to double variable storing the area of a triangle. If the triangle cannot be formed by the three sides, the function return false, otherwise true.
The area of a triangle can be calculated using the Heron’s formula:
, where
Write a function “int *IntAlloc (int size)” that takes the size of an array (element type is int), and returns the address to the first element of an array allocated in runtime.
Write a function “void IntAlloc (int **p, int size)” that takes the address to an array (element type is int) allocated in runtime and the size of the allocated array
과제 해야하는데
몸살난듯...ㅠ
좀도와주실분없나요 ㅠㅠ 부탁해요 ㅠㅠ
댓글 0