#include <stdio.h>
#include <stdlib.h>
int main()
{
int a, b, c, GCD;
a = 10;
b = 20;
for (c = 1; c <= a && c <= b; c++)
{
if (a % c == 0 && b % c == 0)
{
GCD = c;
}
}
printf("%d\n", GCD);
return 0;
}
After run this code a pop up window show this message
The program or feature "\??C:\Users\Hossen\Desktop\C_Time\Alg\bin\Debug\Alg.exe" cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available. )
Here is my build log
Build message mingw32-gcc.exe -Wall -g -c C:\Users\Hossen\Desktop\C_Time\Alg\main.c -o obj\Debug\main.o mingw32-g++.exe -o bin\Debug\Alg.exe obj\Debug\main.o Output file is bin\Debug\Alg.exe with size 28.48 KB Process terminated with status 0 (0 minute(s), 0 second(s)) 0 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Help me to solve this problem?
I'm Using windows 10 home X64
GNU GCC Compiler Codeblocks 20.03