When outputting the path found in the proposed program, thedirection of movement is output. However, the direction of movementto the last movement, EXIT, is not output. To print this out,please describe how to modify the proposed program.
#include <stdio.h>#define NUM_ROWS 5#define NUM_COLS 3#define BOUNDARY_COLS 5#define MAX_STACK_SIZE 100#define FALSE 0#define TRUE 1typedef struct { short int row; short int col; short int dir; } element;element stack[MAX_STACK_SIZE]; /* global stack declaration */typedef struct { short int vert; short int
PayPal Gateway not configured
PayPal Gateway not configured