- Call the executable memact.
- Create pointers for a character, a string, an integer, a floating point number, an array of 10 integers, and a struct for a fraction.
- For each pointer (6 of them), dynamically allocate the memory and then assign values as follows. You can use malloc and or calloc.Use a name for the string (array of characters).Use 25 for the integer.The character should be an ‘E’.The floating point number should be 32.76The array of integers should be the numerals 0 through 9.The struct should have a numerator of 3 and a denominator of 4.
- Print out values for all the dynamically allocated variables.
- Free all dynamically allocated memory.
- Output should look something like:
Character: EInteger: 25String: AlbertFloating Point: 32.76Array of Integers: 0 1 2 3 4 5 6 7 8 9Struct: 3/4
Submit the image of the program running and of the actual code. You can paste them into a Word doc