Activity 26.5.
Write a function
createPolygon()
to which you can pass an integer and that reserves space in memory for an array of points of that size and returns a pointer to that array. Just to be on the safe side, have this function also initialize all coordinates to (0.0,0.0).When you are done, please paste your code into the code submission box below: