Hi i'm making a guessing game program and i've encountered this error of stack around variable ' ' was corrupted. I tried to replace the variable into others but still the same. So is there anyway to solve it?I only know how to use stdio.h so preferably solution using it. Here is my program:
#include <stdio.h>
#include <iostream>
void main()
{
char choice;
int num[4][4]={2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,2};
int i,k,row,col,x,y;
int Array[4][4];
printf("Welcome Player2 !");
printf("\n\n");
printf("**************************************************************************\n");
printf("GUESS THE TWO LOCATION OF A NUMBER GAME<guess the number behind the zero:>\n");
printf("**************************************************************************\n");