[Please answer ASAP, and in C] I’ve been getting a segmentationerror every time I try to run program 4. Please help fix it withbetter code so that the program runs as intended, you can change myprograms accordingly.


My makefile:

My main tictactoe.c file:
#include “tictactoe.h”
/*Used in the next and b3atpos function, where it is only calledonce; therefore not too wasteful*/
int ipow(int b, u16 e)
{
int result = 1;
u16 i;
for (i = 0; i < e; i++, result*=b);
return result;
}
u16 b3tous(char b3[10])
{
u16 value = 0;
u16 placeValue = 1;
u8 i = 0;
/*Go through every space on the
PayPal Gateway not configured
PayPal Gateway not configured