Lets write a C program to determine the position of point(x,y) on the graph of x and y axis. Important:…