criyle/codenet-compile-errors huggingface dataset:
Language: C

#include <stdio.h>
  int main(){
  int a,b;
    scanf("%d　%d",&a,&b);
    if(a<b){
      printf("a<b");
}else if(a>b){
        print("a>b"):
}else{
          print("a == b");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |         print("a>b"):
      |         ^~~~~
      |         printf
main.c:8:21: error: expected ';' before ':' token
    8 |         print("a>b"):
      |                     ^
      |                     ;
Language: C

#include <stdio.h>
  int main(){
  int a,b;
    scanf("%d　%d",&a,&b);
    if(a<b){
      printf("a<b");
}else if(a>b){
        print("a>b");
}else{
          print("a == b");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |         print("a>b");
      |         ^~~~~
      |         printf
Language: C

#include <stdio.h>
  int main(void){
  int a,b;
    scanf("%d　%d",&a,&b);
    if(a < b){
      printf("a < b"\n);
}else if(a>b){
        printf("a > b"\n);
}else{
          printf("a == b"\n);
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:21: error: stray '\' in program
    6 |       printf("a < b"\n);
      |                     ^
main.c:6:21: error: expected ')' before 'n'
    6 |       printf("a < b"\n);
      |             ~       ^~
      |                     )
main.c:8:23: error: stray '\' in program
    8 |         printf("a > b"\n);
      |                       ^
main.c:8:23: error: expected ')' before 'n'
    8 |         printf("a > b"\n);
      |               ~       ^~
      |                       )
main.c:10:26: error: stray '\' in program
   10 |           printf("a == b"\n);
      |                          ^
main.c:10:26: error: expected ')' before 'n'
   10 |           printf("a == b"\n);
      |                 ~        ^~
      |                          )
Language: C

#include <stdio.h>
  int main(){
  int a,b;
    scanf("%d　%d",&a,&b);
    if(a < b){
      printf("a < b\n");

else if(a > b){
        printf("a > b\n");

else{
          printf("a == b\n");
}
}
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: expected '}' before 'else'
    8 | else if(a > b){
      | ^~~~
main.c:11:1: error: expected '}' before 'else'
   11 | else{
      | ^~~~
main.c: At top level:
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
main.c:16:1: error: expected identifier or '(' before 'return'
   16 | return 0;
      | ^~~~~~
main.c:17:1: error: expected identifier or '(' before '}' token
   17 | }
      | ^
Language: C

#include <stdio.h>
int main(){
int a,b;

scanf("%d %d", &a, &b);
if ( a>b) {
　　printf("%d > %d",a,b);
} else if ( b>a ) {
　　printf("%d < %d",a,b);
} else {
　　printf("%d == %d",a,b);
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: stray '\343' in program
    7 | <U+3000><U+3000>printf("%d > %d",a,b);
      | ^~~~~~~~
main.c:7:3: error: stray '\343' in program
    7 | <U+3000><U+3000>printf("%d > %d",a,b);
      |         ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000><U+3000>printf("%d < %d",a,b);
      | ^~~~~~~~
main.c:9:3: error: stray '\343' in program
    9 | <U+3000><U+3000>printf("%d < %d",a,b);
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>printf("%d == %d",a,b);
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>printf("%d == %d",a,b);
      |         ^~~~~~~~
Language: C

#include <stdio.h>
int main(){
int a,b;

scanf("%d %d", &a, &b);

if ( a>b) {
　　printf("a > b\n");
    } 
    else if ( b>a ) {
　　     printf("a < b\n");
        } 
        else {
　　           printf("a == b\n");
             }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000><U+3000>printf("a > b\n");
      | ^~~~~~~~
main.c:8:3: error: stray '\343' in program
    8 | <U+3000><U+3000>printf("a > b\n");
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>     printf("a < b\n");
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>     printf("a < b\n");
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>           printf("a == b\n");
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>           printf("a == b\n");
      |         ^~~~~~~~
Language: C

#include <stdio.h>
int main(){
int a,b;

scanf("%d %d", &a, &b);

if ( a>b) {
　　printf("a > b");
    } 
    else if ( b>a ) {
　　     printf("a < b");
        } 
        else {
　　           printf("a == b");
             }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000><U+3000>printf("a > b");
      | ^~~~~~~~
main.c:8:3: error: stray '\343' in program
    8 | <U+3000><U+3000>printf("a > b");
      |         ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000><U+3000>     printf("a < b");
      | ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 | <U+3000><U+3000>     printf("a < b");
      |         ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000><U+3000>           printf("a == b");
      | ^~~~~~~~
main.c:14:3: error: stray '\343' in program
   14 | <U+3000><U+3000>           printf("a == b");
      |         ^~~~~~~~
Language: C

#include <stdio.h>
int main()
{
int a,b;
scanf("%d%d",%a,%b);
if(a < b)
printf("a < b\n");
else if(a > b)
printf("a > b\n");
else
printf("a == b\n");
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected expression before '%' token
    5 | scanf("%d%d",%a,%b);
      |              ^
Language: C

#include<iostream>
using namespace std;
int main(){
	int a,b;
	cin>>a>>b;
	if(a>b){
		cout<<"a < b"<<endl;
	}else if(a<b){
		cout<<"a > b"<<endl;
	}else{
		cout<<"a == b"<<endl;
	}
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main(){

int x, y;

scanf("%d %d", &x, &y);

if(x == y) printf("a == b",);
else if(x < y) printf("a < b");
else printf("a > b");

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:28: error: expected expression before ')' token
    9 | if(x == y) printf("a == b",);
      |                            ^
Language: C

#include<stdio.h>

int main(){
int x,y;

scanf("%d %d",&x,&y);

if(x>y)
printf("a > b\n");
if(x<y)
printf("a < b"\n);
else
printf("a == b");

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:15: error: stray '\' in program
   11 | printf("a < b"\n);
      |               ^
main.c:11:15: error: expected ')' before 'n'
   11 | printf("a < b"\n);
      |       ~       ^~
      |               )
Language: C

#include<stdio.h>

int main(){
int x,y;

scanf("%d %d",&x,&y);

if(x>y){
printf("a > b\n");}
if(x<y){
printf("a < b"\n);}
else
{printf("a == b");}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:15: error: stray '\' in program
   11 | printf("a < b"\n);}
      |               ^
main.c:11:15: error: expected ')' before 'n'
   11 | printf("a < b"\n);}
      |       ~       ^~
      |               )
Language: C

#include <sdio.h>
int main(void)
{
int a,b;
scanf("%d %d",&a,&b);
if(a>b)printf("a>b\n");
else if(a<b)printf("a<b\n");
else printf("a==b\n");

return 0;
}

Compiler output:
main.c:1:10: fatal error: sdio.h: No such file or directory
    1 | #include <sdio.h>
      |          ^~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main(){

int a,b;

   scanf("%d %d",&x,&y);
   
 if(a<b){
printf("a<b/n");

if(a>b){
printf("a>b/n");
}
else{
printf("a=b\n");
}

     return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:19: error: 'x' undeclared (first use in this function)
    7 |    scanf("%d %d",&x,&y);
      |                   ^
main.c:7:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:22: error: 'y' undeclared (first use in this function)
    7 |    scanf("%d %d",&x,&y);
      |                      ^
main.c:20:1: error: expected declaration or statement at end of input
   20 | }
      | ^
Language: C

#include<stdio.h>

int main(){

int a,b;

   scanf("%d %d",&x,&y);
   
 if(a<b){
printf("a < b/n");

if(a>b){
printf("a > b/n");
}
else{
printf("a == b\n");
}

     return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:19: error: 'x' undeclared (first use in this function)
    7 |    scanf("%d %d",&x,&y);
      |                   ^
main.c:7:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:22: error: 'y' undeclared (first use in this function)
    7 |    scanf("%d %d",&x,&y);
      |                      ^
main.c:20:1: error: expected declaration or statement at end of input
   20 | }
      | ^
Language: C

#include<stdio.h>

int main(){

int a,b;

   scanf("%d %d",&a,&b);
   
 if(a<b){
printf("a < b/n");

if(a>b){
printf("a > b/n");
}
else{
printf("a == b\n");
}

     return 0;
}

Compiler output:
main.c: In function 'main':
main.c:20:1: error: expected declaration or statement at end of input
   20 | }
      | ^
Language: C

#include <stdio.h>
int main(void)
{
int a, b;

printf("整数>>");
scanf("%d %d", &a, &b);

if (a > b){
	printf("a > b);
}
else if (a < b){
	printf("a < b");
}
else if (a == b){
	printf("a == b");
}

return (0);
}

Compiler output:
main.c: In function 'main':
main.c:10:16: warning: missing terminating " character
   10 |         printf("a > b);
      |                ^
main.c:10:16: error: missing terminating " character
   10 |         printf("a > b);
      |                ^~~~~~~~
main.c:11:1: error: expected expression before '}' token
   11 | }
      | ^
main.c:10:16: error: expected ';' before '}' token
   10 |         printf("a > b);
      |                ^
      |                ;
   11 | }
      | ~
Language: C

#include<stdio.h>

int main(void){
  int a, b;
  int out1,out2;
  scanf("%d %d",&a,&b)
  if(a<b)printf("a < b\n");
  if(a>b)printf("a > b\n");
  if(a==b)printf("a == b\n");

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ';' before 'if'
    6 |   scanf("%d %d",&a,&b)
      |                       ^
      |                       ;
    7 |   if(a<b)printf("a < b\n");
      |   ~~
Language: C

#include<stdio.h>

int main(void){
  int a, b;
  int out1,out2;
  scanf("%d %d",&a,&b);
    if(a<b){ printf("a < b\n");
  if(a>b) printf("a > b\n");
  if(a==b) printf("a == b\n");

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:1: error: expected declaration or statement at end of input
   12 | }
      | ^
Language: C

#include<stdio.h>

main(){

  int x,y;

  scanf("%d%d",&a,&b);

  if(a<b)printf("a < b\n");
  else if(b<a)printf("a > b\n");
  else printf("a == b\n");

  return 0;
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:7:17: error: 'a' undeclared (first use in this function)
    7 |   scanf("%d%d",&a,&b);
      |                 ^
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:20: error: 'b' undeclared (first use in this function)
    7 |   scanf("%d%d",&a,&b);
      |                    ^
Language: C

include <stdio.h>
int main(){
  int a,b;
    scanf("%d%d",&a,&b);
  if(a>b)printf("a > b\n");
  if(a<b)printf("a < b\n");
  if(a==b)printf("a == b\n");
  return 0;
  }

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include<stdio.h>
int main(void)
{
	int a,b;
	scanf("%d %d",&a, &b);
	if(a<b)
	{
		printf("%d < %d\n",a, b);
	}
	else if(a>b)
	{
		printf("%d > %d\n",a, b);
	}
	else 
	{
		printf("%d == %d\n",a, b);
	}
	return 0;
}

}

Compiler output:
main.c:21:1: error: expected identifier or '(' before '}' token
   21 | }
      | ^
Language: C

#include<stdio.h>

int main(void)
{
	int a,b;
	
	printf("整数は");
	scanf("%d,&a);
	printf("整数は");
	scanf("%d,&b);
	printf("aがbより大きければ%dです\n");
	scanf("%d",a>b);
	printf("aがbより小さければ%dです\n");
	scanf("%d",a<b);
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:15: warning: missing terminating " character
    8 |         scanf("%d,&a);
      |               ^
main.c:8:15: error: missing terminating " character
    8 |         scanf("%d,&a);
      |               ^~~~~~~~
main.c:9:25: error: expected ')' before ';' token
    9 |         printf("整数は");
      |                         ^
      |                         )
main.c:8:14: note: to match this '('
    8 |         scanf("%d,&a);
      |              ^
main.c:10:15: warning: missing terminating " character
   10 |         scanf("%d,&b);
      |               ^
main.c:10:15: error: missing terminating " character
   10 |         scanf("%d,&b);
      |               ^~~~~~~~
main.c:9:9: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    9 |         printf("整数は");
      |         ^~~~~~~~~~~~~~~~
      |         |
      |         int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
	int a,b;
	
	scanf("%d",&a);

	scanf("%d",&b);

	if(a > b ){
		
	}
	else if(a == b){
		
	}
	else {
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:1: error: expected declaration or statement at end of input
   18 | }
      | ^
Language: C

#include <stdio.h>

int main(void)
{
      int x,y;
 
      scanf("%d",&x);

      scanf("%d",&y);
       
      if(x>y){printf("x>y\n");}
      else if(x>y){printf("x>y\n");}
      else(x==y){printf("x==y\n");}


      return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:17: error: expected ';' before '{' token
   13 |       else(x==y){printf("x==y\n");}
      |                 ^
      |                 ;
Language: C

#include <stdio.h>

int main(void)
{
      int x,y;
 
      scanf("%d",&x);
      scanf("%d",&y);
       
      if(x>y){
                printf("x>y\n");
                }
      else if(x>y){
                printf("x>y\n");
                }
      else(x==y){
                printf("x==y\n");
                }


      return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:17: error: expected ';' before '{' token
   16 |       else(x==y){
      |                 ^
      |                 ;
Language: C

#include <stdio.h>

int main(void)
{
      int x,y;
 
      scanf("%d",&x);
      scanf("%d",&y);
       
      if(x<y){
                printf("x<y\n");
                }
      else if(x>y){
                printf("x>y\n");
                }
      else(x==y){
                printf("x==y\n");
                }


      return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:17: error: expected ';' before '{' token
   16 |       else(x==y){
      |                 ^
      |                 ;
Language: C

#include<stdio.h>

int main(void){
    int a, b;
    scanf("%d %d",&a, &b);
    if(a > b) printf("a > b\n");
    if(a < b) printf("a < b\n");
    if(a == b) printf(a == b\n");

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:29: error: stray '\' in program
    8 |     if(a == b) printf(a == b\n");
      |                             ^
main.c:8:29: error: expected ')' before 'n'
    8 |     if(a == b) printf(a == b\n");
      |                      ~      ^~
      |                             )
main.c:8:31: warning: missing terminating " character
    8 |     if(a == b) printf(a == b\n");
      |                               ^
main.c:8:31: error: missing terminating " character
    8 |     if(a == b) printf(a == b\n");
      |                               ^~~
main.c:8:25: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    8 |     if(a == b) printf(a == b\n");
      |                       ~~^~~~
      |                         |
      |                         int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:10:14: error: expected ';' before '}' token
   10 |     return 0;
      |              ^
      |              ;
   11 | }
      | ~
Language: C

#include<stdio.h>
int main(){
  int a,b;
  scanf("%d %d",&a,&b)
    if(a<b){
      printf("a<b\n");
    }
    else if(a>b){
      printf("a>b\n");
    }
    else if(a==b){
      printf("a==b\n");
    }
  return (0);
}

Compiler output:
main.c: In function 'main':
main.c:4:23: error: expected ';' before 'if'
    4 |   scanf("%d %d",&a,&b)
      |                       ^
      |                       ;
    5 |     if(a<b){
      |     ~~
Language: C

#include <stdio.h>

int main()
{
    int x,y;
    scanf("%d %d",&x,&y);
    printf(a>b? "a > b":a<b? "a < b":"a == b");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:12: error: 'a' undeclared (first use in this function)
    7 |     printf(a>b? "a > b":a<b? "a < b":"a == b");
      |            ^
main.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:14: error: 'b' undeclared (first use in this function)
    7 |     printf(a>b? "a > b":a<b? "a < b":"a == b");
      |              ^
Language: C

#include<stdio.h> main (){   int a,b;   scanf("%d %d",&a,&b);   if(a<b){     printf("a < b\n");   }   if(a>b){     printf("a > b\n");   }   if(a==b){     printf("a == b\n");   }   return 0; }

Compiler output:
main.c:1:19: warning: extra tokens at end of #include directive
    1 | #include<stdio.h> main (){   int a,b;   scanf("%d %d",&a,&b);   if(a<b){     printf("a < b\n");   }   if(a>b){     printf("a > b\n");   }   if(a==b){     printf("a == b\n");   }   return 0; }
      |                   ^~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>
int main(void){
      int a,b,;
    scanf("%d %d",&a,&b);
    if(a==b){
        printf("a == b\n");
        }
    if(a>b){
        printf("a > b\n");
        }
    if(a<b){
        printf("a < b\n");
        }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:15: error: expected identifier or '(' before ';' token
    3 |       int a,b,;
      |               ^
Language: C

#include<stdio.h>
int main(void){
      int a,b,;
    scanf("%d %d",&a,&b);
    if(a==b){
        printf("a == b\n");
        }
    else if(a>b){
        printf("a > b\n");
        }
    else if(a<b){
        printf("a < b\n");
        }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:15: error: expected identifier or '(' before ';' token
    3 |       int a,b,;
      |               ^
Language: C

#include <stdio.h>
int main(){
	int a,b;
	scanf("%d",&a);
	scanf("%d",&b);
	if(a<b){
		printf("%d < %d\n"a,b);
		else if(a>b){
			printf("%d > %d\n"a,b);
			else{
				printf("%d == %d\n"a,b);
			}
		}
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:35: error: expected ')' before 'a'
    7 |                 printf("%d < %d\n"a,b);
      |                       ~           ^
      |                                   )
main.c:8:17: error: expected '}' before 'else'
    8 |                 else if(a>b){
      |                 ^~~~
main.c:9:43: error: expected ')' before 'a'
    9 |                         printf("%d > %d\n"a,b);
      |                               ~           ^
      |                                           )
main.c:10:25: error: expected '}' before 'else'
   10 |                         else{
      |                         ^~~~
main.c:11:52: error: expected ')' before 'a'
   11 |                                 printf("%d == %d\n"a,b);
      |                                       ~            ^
      |                                                    )
main.c: At top level:
main.c:14:9: error: expected identifier or '(' before '}' token
   14 |         }
      |         ^
main.c:15:9: error: expected identifier or '(' before 'return'
   15 |         return 0;
      |         ^~~~~~
main.c:16:1: error: expected identifier or '(' before '}' token
   16 | }
      | ^
Language: C

#include <stdio.h>
int main(){
	int a,b;
	scanf("%d",&a);
	scanf("%d",&b);
	if(a<b){
		printf("%d < %d\n"a,b);
	}else if(a>b){
			printf("%d > %d\n"a,b);
	}else{
				printf("%d == %d\n"a,b);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:35: error: expected ')' before 'a'
    7 |                 printf("%d < %d\n"a,b);
      |                       ~           ^
      |                                   )
main.c:9:43: error: expected ')' before 'a'
    9 |                         printf("%d > %d\n"a,b);
      |                               ~           ^
      |                                           )
main.c:11:52: error: expected ')' before 'a'
   11 |                                 printf("%d == %d\n"a,b);
      |                                       ~            ^
      |                                                    )
Language: C

 #include <stdio.h> 
 int main(void) 
 { 
   int x,y;
   scanf ("%d",&x );
   scanf ("%d",&y );
   If (a>b){
     printf("a > b");
   }
   else if (a<b){
     printf("a < b")
       }
   else if (a==b){
     printf("a == b")
       }
  return(0); 
 } 

Compiler output:
main.c: In function 'main':
main.c:7:4: error: implicit declaration of function 'If' [-Wimplicit-function-declaration]
    7 |    If (a>b){
      |    ^~
main.c:7:8: error: 'a' undeclared (first use in this function)
    7 |    If (a>b){
      |        ^
main.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:10: error: 'b' undeclared (first use in this function)
    7 |    If (a>b){
      |          ^
main.c:7:12: error: expected ';' before '{' token
    7 |    If (a>b){
      |            ^
      |            ;
Language: C

 #include <stdio.h> 
 int main(void) 
 { 
   int x,y;
   scanf ("%d",&x );
   scanf ("%d",&y );
   If (a>b){
     printf("a > b");
   }
   else if (a<b){
     printf("a < b");
       }
   else if (a==b){
     printf("a == b");
       }
  return(0); 
 } 

Compiler output:
main.c: In function 'main':
main.c:7:4: error: implicit declaration of function 'If' [-Wimplicit-function-declaration]
    7 |    If (a>b){
      |    ^~
main.c:7:8: error: 'a' undeclared (first use in this function)
    7 |    If (a>b){
      |        ^
main.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:10: error: 'b' undeclared (first use in this function)
    7 |    If (a>b){
      |          ^
main.c:7:12: error: expected ';' before '{' token
    7 |    If (a>b){
      |            ^
      |            ;
Language: C

 #include <stdio.h> 
 int main(void) 
 { 
   int x,y;
   scanf ("%d",&x );
   scanf ("%d",&y );
   if (a>b){
     printf("a > b");
   }
   else if (a<b){
     printf("a < b");
       }
   else if (a==b){
     printf("a == b");
       }
  return(0); 
 } 

Compiler output:
main.c: In function 'main':
main.c:7:8: error: 'a' undeclared (first use in this function)
    7 |    if (a>b){
      |        ^
main.c:7:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:10: error: 'b' undeclared (first use in this function)
    7 |    if (a>b){
      |          ^
Language: C

#include <stdio.h>
 int main(void)
 {
	 int a, b;
	 if (a<b);
		 printf("a < b\n");
	 else　if (a>b);
		 printf(" a > b\n");
		 
      if (a==b);
		 printf("a == b\n");
	
	 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:10: error: 'else' without a previous 'if'
    7 |          else　if (a>b);
      |          ^~~~
main.c:7:14: error: stray '\343' in program
    7 |          else<U+3000>if (a>b);
      |              ^~~~~~~~
Language: C

#include <stdio.h>
 int main(void)
 {
	 int a, b;
	 if (a<b){
		 printf("a < b\n");
	}
	 else if (a>b){
		 printf(" a > b\n");
	}
     else if (a==b){
		 printf("a == b\n");
	}
	 return 0;

Compiler output:
main.c: In function 'main':
main.c:14:10: error: expected declaration or statement at end of input
   14 |          return 0;
      |          ^~~~~~
Language: C

#include <stdio.h>
 int main()
 {
	 int a, b;
	 if (a<b){
		 printf("a < b\n");
	}
	 else if (a>b){
		 printf(" a > b\n");
	}
     else if (a==b){
		 printf("a == b\n");
	}
	 return 0;

Compiler output:
main.c: In function 'main':
main.c:14:10: error: expected declaration or statement at end of input
   14 |          return 0;
      |          ^~~~~~
Language: C

#include<stdio.h>
int main(void)
{
	int a,b;
	scanf("%d%d",&a,&b);
		if(a<b){
			printf(a<b);
		}
		else if(a==b){
			printf(a==b){
		}
		else{
			printf(a>b);
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:33: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 |                         printf(a<b);
      |                                ~^~
      |                                 |
      |                                 int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:10:33: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 |                         printf(a==b){
      |                                ~^~~
      |                                 |
      |                                 int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:10:37: error: expected ';' before '{' token
   10 |                         printf(a==b){
      |                                     ^
      |                                     ;
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
	int a,b;
	scanf("%d%d",&a,&b);
		if(a<b){
			printf("a<b");
		}
		else if(a==b){
			printf("a==b"){
		}
		else{
			printf("a>b");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:39: error: expected ';' before '{' token
   10 |                         printf("a==b"){
      |                                       ^
      |                                       ;
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
	int a,b;
	scanf("%d%d",&a,&b);
		if(a<b){
			printf("a<b\n");
		}
		else if(a==b){
			printf("a==b\n"){
		}
		else{
			printf("a>b\n");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:41: error: expected ';' before '{' token
   10 |                         printf("a==b\n"){
      |                                         ^
      |                                         ;
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
	int a,b;
	scanf("%d%d",&a,&b);
		if(a<b){
			printf("a < b\n");
		}
		else if(a==b){
			printf("a == b\n"){
		}
		else{
			printf("a > b\n");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:43: error: expected ';' before '{' token
   10 |                         printf("a == b\n"){
      |                                           ^
      |                                           ;
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>

int main(){
	int a,b;
	scanf("%d %d",&a,&b);
	if(a < b)
		printf("a < b\n");
	elseif(a > b)
		printf("a > b\n");
	elseif(a==b)
		printf("a == b\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'elseif' [-Wimplicit-function-declaration]
    8 |         elseif(a > b)
      |         ^~~~~~
main.c:8:22: error: expected ';' before 'printf'
    8 |         elseif(a > b)
      |                      ^
      |                      ;
    9 |                 printf("a > b\n");
      |                 ~~~~~~
main.c:10:21: error: expected ';' before 'printf'
   10 |         elseif(a==b)
      |                     ^
      |                     ;
   11 |                 printf("a == b\n");
      |                 ~~~~~~
Language: C

#include <stdio.h>

int main(void)
{
	int a,b;
	scanf("%a %b",&a,&b);
	if(a<b)
		puts("a<b");
	else if (a>b)
		puts("a>b");
	else("a==b")
		puts("a==b");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:21: error: expected ';' before 'puts'
   11 |         else("a==b")
      |                     ^
      |                     ;
   12 |                 puts("a==b");
      |                 ~~~~
Language: C

#include <stdio.h>

int main(void)
{
	int a,b;
	scanf("%a %b",&a,&b);
	if(a<b){
		puts("a<b");
	}else if(a>b){
		puts("a>b");
	}else("a==b"){
		puts("a==b");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:22: error: expected ';' before '{' token
   11 |         }else("a==b"){
      |                      ^
      |                      ;
Language: C

#include <stdio.h>

int main(void)
{
	int a,b;
	scanf("%d %d",&a,&b);
	if(a<b){
		puts("a<b");
	}else if(a>b){
		puts("a>b");
	}else("a==b"){
		puts("a==b");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:22: error: expected ';' before '{' token
   11 |         }else("a==b"){
      |                      ^
      |                      ;
Language: C

#include <stdio.h>

int main(void)
{
	int a,b;
	scanf("%d %d",&a,&b);
	if(a<b){
		printf("a<b\n");
	}else if(a>b){
		printf("a>b\n");
	}else(a==b){
		printf("a==b\n");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:20: error: expected ';' before '{' token
   11 |         }else(a==b){
      |                    ^
      |                    ;
Language: C

#include <stdio.h>

int main(void)
{
	int a,b;
	scanf("%d",&a); 	scanf("%d",&b);
	if(a<b){
		printf("a<b\n");
	}else if(a>b){
		printf("a>b\n");
	}else(a==b){
		printf("a==b\n");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:20: error: expected ';' before '{' token
   11 |         }else(a==b){
      |                    ^
      |                    ;
Language: C

main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:1: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
main.c:1:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
      |           ^~~~~
main.c:1:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:35: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
      |                                   ^~~~
main.c:1:35: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:50: error: expected ':' before ';' token
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
      |                                                  ^
      |                                                  :
main.c:1:51: error: expected expression before ':' token
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
      |                                                   ^
main.c:1:74: error: expected expression before ':' token
    1 | main(a,b){scanf("%d%d",&a,&b);a>b?puts("a > b\n");:a==b?puts("a == b\n");:puts("a < b\n");return 0;}
      |                                                                          ^
Language: C

#include <stdio.h>

void judge(int *a,int *b){

if(*a<*b) printf("a < b");
else if(*a>*b) printf("a > b");
else print("a == b");

}

int main(){
int a;
int b;
scanf("%d %d",&a,&b);
judge(&a,&b);
return 0;
}

Compiler output:
main.c: In function 'judge':
main.c:7:6: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 | else print("a == b");
      |      ^~~~~
      |      printf
Language: C

#include <stdio.h>

void judge(int* a,int* b){

if(*a<*b) printf("a < b");
else if(*a>*b) printf("a > b");
else(*a==*b) printf("a == b");

}
int main(){
int a;
int b;
scanf("%d %d",&a,&b);
judge(&a,&b);

}

Compiler output:
main.c: In function 'judge':
main.c:7:13: error: expected ';' before 'printf'
    7 | else(*a==*b) printf("a == b");
      |             ^~~~~~~
      |             ;
Language: C

#include <stdio.h>

int main(void)

{
	int main(void)
	
	scanf("%d", &a);
	scanf("%d", &b);
	
	if(b > a){
		printf("a < b\n");
	}
	else if (a > b){
		printf("a > b\n");
	}
	else {
		printf("a == b\n");
	}
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: expected declaration specifiers before 'scanf'
    8 |         scanf("%d", &a);
      |         ^~~~~
main.c:9:9: error: expected declaration specifiers before 'scanf'
    9 |         scanf("%d", &b);
      |         ^~~~~
main.c:11:9: error: expected declaration specifiers before 'if'
   11 |         if(b > a){
      |         ^~
main.c:14:9: error: expected declaration specifiers before 'else'
   14 |         else if (a > b){
      |         ^~~~
main.c:17:9: error: expected declaration specifiers before 'else'
   17 |         else {
      |         ^~~~
main.c:21:9: error: expected declaration specifiers before 'return'
   21 |         return (0);
      |         ^~~~~~
main.c:22:1: error: expected declaration specifiers before '}' token
   22 | }
      | ^
main.c:23: error: expected '{' at end of input
main.c: In function 'main':
main.c:22:1: error: expected declaration or statement at end of input
   22 | }
      | ^
Language: C

#include <stdio.h>

int main(void)

{
	int main(void)
	
	scanf("%d", &a);
	scanf("%d", &b);
	
	if(a < b){
		printf("a < b\n");
	}
	else if (a > b){
		printf("a > b\n");
	}
	else {
		printf("a == b\n");
	}
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: expected declaration specifiers before 'scanf'
    8 |         scanf("%d", &a);
      |         ^~~~~
main.c:9:9: error: expected declaration specifiers before 'scanf'
    9 |         scanf("%d", &b);
      |         ^~~~~
main.c:11:9: error: expected declaration specifiers before 'if'
   11 |         if(a < b){
      |         ^~
main.c:14:9: error: expected declaration specifiers before 'else'
   14 |         else if (a > b){
      |         ^~~~
main.c:17:9: error: expected declaration specifiers before 'else'
   17 |         else {
      |         ^~~~
main.c:21:9: error: expected declaration specifiers before 'return'
   21 |         return (0);
      |         ^~~~~~
main.c:22:1: error: expected declaration specifiers before '}' token
   22 | }
      | ^
main.c:23: error: expected '{' at end of input
main.c: In function 'main':
main.c:22:1: error: expected declaration or statement at end of input
   22 | }
      | ^
Language: C

#include <stdio.h>

int main(void)

{
	int main(void)
	
	scanf("%d", &a);
	scanf("%d", &b);
	
	if(b > a){
		printf("%d < %d\n", a, b);
	}
	else if (a > b){
		printf("%d > %d\n", a, b);
	}
	else {
		printf("%d == %d\n", a, b);
	}
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: expected declaration specifiers before 'scanf'
    8 |         scanf("%d", &a);
      |         ^~~~~
main.c:9:9: error: expected declaration specifiers before 'scanf'
    9 |         scanf("%d", &b);
      |         ^~~~~
main.c:11:9: error: expected declaration specifiers before 'if'
   11 |         if(b > a){
      |         ^~
main.c:14:9: error: expected declaration specifiers before 'else'
   14 |         else if (a > b){
      |         ^~~~
main.c:17:9: error: expected declaration specifiers before 'else'
   17 |         else {
      |         ^~~~
main.c:21:9: error: expected declaration specifiers before 'return'
   21 |         return (0);
      |         ^~~~~~
main.c:22:1: error: expected declaration specifiers before '}' token
   22 | }
      | ^
main.c:23: error: expected '{' at end of input
main.c: In function 'main':
main.c:22:1: error: expected declaration or statement at end of input
   22 | }
      | ^
Language: C

#include <stdio.h>

int main(void)

{
	int a, b;
	scanf("%d %d", &a, &b);
		
	
	if(b > a){
		printf("a < b\n");
	}
	else if (a > b){
		printf("a > b\n");
	}
	else {
　　　　　　　　　printf("a == b\n");
	}
	
	printf("\n");
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |         ^~~~~~~~
main.c:17:5: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |                 ^~~~~~~~
main.c:17:7: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |                         ^~~~~~~~
main.c:17:9: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |                                 ^~~~~~~~
main.c:17:11: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |                                         ^~~~~~~~
main.c:17:13: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |                                                 ^~~~~~~~
main.c:17:15: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |                                                         ^~~~~~~~
main.c:17:17: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000><U+3000>printf("a == b\n");
      |                                                                 ^~~~~~~~
Language: C

#include <stdio.h>

int main(void)

{
	int a, b;
	scanf("%d %d", &a, &b);
	
	if (a == b){
		printf("a == b\n");
	
	else if(b > a){
		printf("a < b\n");
	}
	else if (a > b){
		printf("a > b\n");
	}	
	printf("\n");
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:12:9: error: expected '}' before 'else'
   12 |         else if(b > a){
      |         ^~~~
Language: C

#include <stdio.h>

int main(void)

{
	int a, b;
	scanf("%d %d", &a, &b);
	
	if (a == b){
		printf("a == b\n");
	
	else if(b > a){
		printf("a < b\n");
	}
	else if (a > b){
		printf("a > b\n");
	}	
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:12:9: error: expected '}' before 'else'
   12 |         else if(b > a){
      |         ^~~~
Language: C

#include <stdio.h>

int main(void)

{
	int a, b;
	scanf("%d %d", &a, &b);
	
	if (a == b){
		printf("a == b\n");
	
	else if(a < b){
		printf("a < b\n");
	}
	else if (a > b){
		printf("a > b\n");
	}	
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:12:9: error: expected '}' before 'else'
   12 |         else if(a < b){
      |         ^~~~
Language: C

#include <stdio.h>

int main(void)
{
	int a, b;
	scanf("%d %d", &a, &b);
	
	if(a < b){
		printf("a < b\n");
	}
	else if(a > b){
		printf("a > b\n");
	}
	else (a == b){
		printf("a == b\n");
	}
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:14:22: error: expected ';' before '{' token
   14 |         else (a == b){
      |                      ^
      |                      ;
Language: C

#include<stdio.h>
int main()
{
	int a , b;
	scanf("%d %d",&x ,&y);
	if(x<y){
		printf("a < b");
	}
	else if (x == y){
		printf("a == b");
	}
	else {
		printf("a > b");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:24: error: 'x' undeclared (first use in this function)
    5 |         scanf("%d %d",&x ,&y);
      |                        ^
main.c:5:24: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:28: error: 'y' undeclared (first use in this function)
    5 |         scanf("%d %d",&x ,&y);
      |                            ^
Language: C

#include<stdio.h>
int main()
{
	int a , b;
	scanf("%d %d",&x ,&y);
	if(a<b){
		printf("a < b");
	}
	else if (a == b){
		printf("a == b");
	}
	else {
		printf("a > b");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:24: error: 'x' undeclared (first use in this function)
    5 |         scanf("%d %d",&x ,&y);
      |                        ^
main.c:5:24: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:28: error: 'y' undeclared (first use in this function)
    5 |         scanf("%d %d",&x ,&y);
      |                            ^
Language: C

console.log('Hello World');

ls
  
  

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | console.log('Hello World');
      |        ^
main.c:1:13: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes
    1 | console.log('Hello World');
      |             ^~~~~~~~~~~~~
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
    3 | ls
      | ^~
Language: C

#include <stdio.h> void main(){ int a,b;scanf("%d,%d",&a,&b); if(a>b) printf("a>b\n");if(a<b) printf("a<b\n");if(a==b) printf("a==b\n");return 0;}

Compiler output:
main.c:1:20: warning: extra tokens at end of #include directive
    1 | #include <stdio.h> void main(){ int a,b;scanf("%d,%d",&a,&b); if(a>b) printf("a>b\n");if(a<b) printf("a<b\n");if(a==b) printf("a==b\n");return 0;}
      |                    ^~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include <stdio.h> int main(void){ 
int a=0,b=0; 
scanf("%d %d",&a,&b); 
if(a>b) {printf("a > b\n");}
else if(a<b) {printf("a < b\n");} 
else {printf("a == b\n");} 
return 0;}

Compiler output:
main.c:1:20: warning: extra tokens at end of #include directive
    1 | #include <stdio.h> int main(void){
      |                    ^~~
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d %d",&a,&b);
      |       ^~~~~~~
main.c:3:15: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d",&a,&b);
      |               ^
main.c:3:18: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d %d",&a,&b);
      |                  ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if(a>b) {printf("a > b\n");}
      | ^~
main.c:5:1: error: expected identifier or '(' before 'else'
    5 | else if(a<b) {printf("a < b\n");}
      | ^~~~
main.c:6:1: error: expected identifier or '(' before 'else'
    6 | else {printf("a == b\n");}
      | ^~~~
main.c:7:1: error: expected identifier or '(' before 'return'
    7 | return 0;}
      | ^~~~~~
main.c:7:10: error: expected identifier or '(' before '}' token
    7 | return 0;}
      |          ^
Language: C

#include <stdio.h>

int main(void)
{
	int a, b;

	scanf("%d %d", &a, &b);

	if (a > b)
	　printf("a > b\n");
  　　　else if (a == b)
 	  printf("a == b\n");
 　　　 else
 	  printf("a < b\n");

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:9: error: stray '\343' in program
   10 |         <U+3000>printf("a > b\n");
      |         ^~~~~~~~
main.c:11:3: error: stray '\343' in program
   11 |   <U+3000><U+3000><U+3000>else if (a == b)
      |   ^~~~~~~~
main.c:11:5: error: stray '\343' in program
   11 |   <U+3000><U+3000><U+3000>else if (a == b)
      |           ^~~~~~~~
main.c:11:7: error: stray '\343' in program
   11 |   <U+3000><U+3000><U+3000>else if (a == b)
      |                   ^~~~~~~~
main.c:13:2: error: stray '\343' in program
   13 |  <U+3000><U+3000><U+3000> else
      |  ^~~~~~~~
main.c:13:4: error: stray '\343' in program
   13 |  <U+3000><U+3000><U+3000> else
      |          ^~~~~~~~
main.c:13:6: error: stray '\343' in program
   13 |  <U+3000><U+3000><U+3000> else
      |                  ^~~~~~~~
Language: C

#include<stdio.h>
int main(void){
   int a,b;
   scanf("%d %d",&a,&b);
  
   if(a>b){
      printf("a>b\n");
   }
   else if (a<b){
      printf("a<b\n");
   }
   else{
       printf(!a==b\n");
   }

   return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:20: error: stray '\' in program
   13 |        printf(!a==b\n");
      |                    ^
main.c:13:20: error: expected ')' before 'n'
   13 |        printf(!a==b\n");
      |              ~     ^~
      |                    )
main.c:13:22: warning: missing terminating " character
   13 |        printf(!a==b\n");
      |                      ^
main.c:13:22: error: missing terminating " character
   13 |        printf(!a==b\n");
      |                      ^~~
main.c:13:17: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   13 |        printf(!a==b\n");
      |               ~~^~~
      |                 |
      |                 int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:13:22: error: expected ';' before '}' token
   13 |        printf(!a==b\n");
      |                      ^
      |                      ;
   14 |    }
      |    ~
Language: C

#include<stdio.h>
int main(){
int a,b;
cin>>a>>b;
if(a>b)
cout<<"a > b" <<endl;
else
cout<<(a==b)?"a == b":"a < b" << endl;
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:1: error: 'cin' undeclared (first use in this function)
    4 | cin>>a>>b;
      | ^~~
main.c:4:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:1: error: 'cout' undeclared (first use in this function)
    6 | cout<<"a > b" <<endl;
      | ^~~~
main.c:6:17: error: 'endl' undeclared (first use in this function)
    6 | cout<<"a > b" <<endl;
      |                 ^~~~