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

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

scanf("%d %d",&a &b);
printf("%d %d\n"a*b 2*a+2*b);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 | int a b;
      |       ^
main.c:3:7: error: 'b' undeclared (first use in this function)
main.c:3:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:16: error: 'a' undeclared (first use in this function)
    5 | scanf("%d %d",&a &b);
      |                ^
main.c:6:17: error: expected ')' before 'a'
    6 | printf("%d %d\n"a*b 2*a+2*b);
      |       ~         ^
      |                 )
Language: C

#include<stdio.h>
int main(void){
	int a;
	int b;
	scanf_s("%d", &a);
	scanf_s("%d", &b);
	printf("%d ", a*b);
	printf("%d", (a+b)*2);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d", &a);
      |         ^~~~~~~
      |         scanf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:20: error: called object is not a function or function pointer
    5 | printf("%d %d",a*b,2(a*b));
      |                    ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:15: error: called object is not a function or function pointer
    6 | printf("%d\n",2(a+b));
      |               ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:13: error: called object is not a function or function pointer
    6 | printf("%d",2(a+b));
      |             ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:15: error: called object is not a function or function pointer
    7 | printf("%d\n",2(a+b));
      |               ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:22: error: called object is not a function or function pointer
    5 | printf("%d %d\n",a*b,2(a+b));
      |                      ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:20: error: called object is not a function or function pointer
    5 | printf("%d %d",a*b,2(a+b));
      |                    ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:13: error: called object is not a function or function pointer
    6 | printf("%d",2(a*b));
      |             ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:13: error: called object is not a function or function pointer
    6 | printf("%d",2(a*b));
      |             ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:13: error: called object is not a function or function pointer
    6 | printf("%d",2(a+b));
      |             ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:13: error: called object is not a function or function pointer
    6 | printf("%d",2(a+b));
      |             ^
Language: C

#include<stdio.h>
int main(void){
	int a, b;
	a = 0;
	b = 0;
	scanf_s("%d ", a);
	scanf_s("%d", b);
	printf("%d ", a*b);
	printf("%d",(a+b)*2 );

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d ", a);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>



int main(){

int a,b,c,d;

scanf("%d %d",&a,&b);
c = a * b;
d = a + b*2;

printf(%d %d\n);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:8: error: expected expression before '%' token
   13 | printf(%d %d\n);
      |        ^
main.c:13:13: error: stray '\' in program
   13 | printf(%d %d\n);
      |             ^
Language: C

#include<stdio.h>

int main()
{
    int x,y,answr,answr2;

    scanf("%d",&x);
    scanf("%d",&y)
    answr = x * y;
    answr2 = 2 * (x + y);

    printf("%d %d",answr,answr2);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:19: error: expected ';' before 'answr'
    8 |     scanf("%d",&y)
      |                   ^
      |                   ;
    9 |     answr = x * y;
      |     ~~~~~
Language: C

#include "0701.h"
double a,b, result1, result2;
scanf("%f %f",&a &b);
result1 = 2*a + 2*b;
result2 = a * b;
printf("%lf %lf",result1,result2);
return 0;

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

include <stdio.h>

int main () {
	int sum1 = 0, sum2 = 0, a, b;
	scanf("%d %d", &a, &b);
	sum1 = a * b;
	sum2 = 2 * a + 2 * b;
	printf("sum1 = %d sum2 = %d\n", sum1, sum2);
	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{
    int a,b, result1, result2;
    scanf("%d %d",&a &b);
    result1 = 2*a + 2*b;
    result2 = a * b;
    printf("%d %d\n",result1,result2);
    return 0;

Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main{
      |         ^
Language: C

#include "stdio.h"
int main{
    int a,b, result1, result2;
    scanf("%d %d",&a &b);
    result1 = 2*a + 2*b;
    result2 = a * b;
    printf("%d %d\n",result1,result2);
    return 0;
}

Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main{
      |         ^
Language: C

include<stdio.h>
int main
{
int a,b,c,d;
scanf("%d %d",&a,&b);
c=a*b;
d=a*2+b*2;
printf("%d %d",c,d);
return 0;
}

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

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

Compiler output:
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | {
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:17: error: expected ')' before 'a'
    8 | printf("%d %d\n"a,b);
      |       ~         ^
      |                 )
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:17: error: expected ')' before 'c'
    8 | printf("%d %d\n"c,d);
      |       ~         ^
      |                 )
Language: C

#include<stdio.h>
int main()
{
    int x,y;
    scanf("%d &d",&x,&y);
    x=x*y;
    y=2*x+2*y
    printf("%d &d\n",x,y);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:14: error: expected ';' before 'printf'
    7 |     y=2*x+2*y
      |              ^
      |              ;
    8 |     printf("%d &d\n",x,y);
      |     ~~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:17: error: expected ')' before 'c'
    8 | printf("%d %d\n"c,d);
      |       ~         ^
      |                 )
Language: C

#include <stdio.h>

int main(){

int a, b;

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

x = a*b;
y = 2*(a+b);


printf("%d %d\n",x,y);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:9:1: error: 'x' undeclared (first use in this function)
    9 | x = a*b;
      | ^
main.c:9:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:1: error: 'y' undeclared (first use in this function)
   10 | y = 2*(a+b);
      | ^
Language: C

#include<stdio.h>
int main(){
int a,b,c,d;
scanf("%d %d", &a, &b);
c=a*b;
d=a*2+b*2;
printf("%d %d"c,d);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected ')' before 'c'
    7 | printf("%d %d"c,d);
      |       ~       ^
      |               )
Language: C

#include<stdio.h>
int main(){
int a,b,c,d;
scanf("%d %d", a, b);
c=a*b;
d=a*2+b*2;
printf("%d %d"c,d);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:15: error: expected ')' before 'c'
    7 | printf("%d %d"c,d);
      |       ~       ^
      |               )
Language: C

#include <stdio.h>
#include <math.h>
int main(){
	int a,b;
	scanf("%d %d",&x,&y);
	printf("%d\n",x*2+y*2);
	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:27: error: 'y' undeclared (first use in this function)
    5 |         scanf("%d %d",&x,&y);
      |                           ^
Language: C

include<stdio.h>
int main(){
int a,b,c,d;
scanf("%d %d", &a, &b);
c=a*b;
d=a*2+b*2;
printf("%d %d"c,d);
return 0;
}

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

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

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

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

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

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

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

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

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

#include<stdio.h>
int main()
[
  int a;
  int b;
  scanf("%d %d",&a,&b);
  printf("%d %d\n",a*b,2a+2b);
  return 0;
}
  

Compiler output:
main.c:4:3: error: expected expression before 'int'
    4 |   int a;
      |   ^~~
main.c:7:24: error: invalid suffix "a" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                        ^~
main.c:7:27: error: invalid suffix "b" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                           ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:24: error: invalid suffix "a" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                        ^~
main.c:7:27: error: invalid suffix "b" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                           ^~
Language: C

#include<stdio.h>
int main()
[
  int a;
  int b;
  scanf("%d %d",&a,&b);
  printf("%d %d\n",a*b,2a+2b);
  return 0;
]
  

Compiler output:
main.c:4:3: error: expected expression before 'int'
    4 |   int a;
      |   ^~~
main.c:7:24: error: invalid suffix "a" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                        ^~
main.c:7:27: error: invalid suffix "b" on integer constant
    7 |   printf("%d %d\n",a*b,2a+2b);
      |                           ^~
Language: C

#include <stdio.h>

int main(void)
{

int a,b;

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

printf("%d %d\n",a*b a*2+b*2);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:8:18: error: invalid operands to binary & (have 'int *' and 'int')
    8 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
main.c:10:21: error: expected ')' before 'a'
   10 | printf("%d %d\n",a*b a*2+b*2);
      |       ~             ^~
      |                     )
Language: C

#include <stdio.h>

int main(void) {
	int a, b;
	
	scanf("%d %d", &a, &b);
	printf("%d %d\n", a * b, 2(a + b));
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:34: error: called object is not a function or function pointer
    7 |         printf("%d %d\n", a * b, 2(a + b));
      |                                  ^
Language: C

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:26: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d %d" ,&a&b);
      |                        ~~^
      |                        |
      |                        int *
main.c:5:9: error: implicit declaration of function 'printF'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |         printF("%d%d/n" ,a*b);
      |         ^~~~~~
      |         printf
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d %d" ,&a&b);
	printF("%d%d/n" ,a???*???b???,a*2+b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:26: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d %d" ,&a&b);
      |                        ~~^
      |                        |
      |                        int *
main.c:5:9: error: implicit declaration of function 'printF'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |         printF("%d%d/n" ,a???*???b???,a*2+b*2);
      |         ^~~~~~
      |         printf
main.c:5:28: error: expected expression before '?' token
    5 |         printF("%d%d/n" ,a???*???b???,a*2+b*2);
      |                            ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d %d" ,&a&b);
	printF("%d%d/n" ,a???*???b???,a*2++b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:26: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d %d" ,&a&b);
      |                        ~~^
      |                        |
      |                        int *
main.c:5:9: error: implicit declaration of function 'printF'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |         printF("%d%d/n" ,a???*???b???,a*2++b*2);
      |         ^~~~~~
      |         printf
main.c:5:28: error: expected expression before '?' token
    5 |         printF("%d%d/n" ,a???*???b???,a*2++b*2);
      |                            ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d%d" ,&a&b);
	printF("%d %d/n" ,a???*???b???,a*2+b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:25: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d%d" ,&a&b);
      |                       ~~^
      |                       |
      |                       int *
main.c:5:9: error: implicit declaration of function 'printF'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 |         printF("%d %d/n" ,a???*???b???,a*2+b*2);
      |         ^~~~~~
      |         printf
main.c:5:29: error: expected expression before '?' token
    5 |         printF("%d %d/n" ,a???*???b???,a*2+b*2);
      |                             ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d%d" ,&a&b);
	printf("%d %d/n" ,a???*???b???,a*2+b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:25: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d%d" ,&a&b);
      |                       ~~^
      |                       |
      |                       int *
main.c:5:29: error: expected expression before '?' token
    5 |         printf("%d %d/n" ,a???*???b???,a*2+b*2);
      |                             ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d%d" ,&a&b);
	printf("%d %d/n" ,a*b???,a*2+b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:25: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d%d" ,&a&b);
      |                       ~~^
      |                       |
      |                       int *
main.c:5:31: error: expected expression before '?' token
    5 |         printf("%d %d/n" ,a*b???,a*2+b*2);
      |                               ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d %d" ,&a&b);
	printf("%d %d/n" ,a*b???,a*2+b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:26: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d %d" ,&a&b);
      |                        ~~^
      |                        |
      |                        int *
main.c:5:31: error: expected expression before '?' token
    5 |         printf("%d %d/n" ,a*b???,a*2+b*2);
      |                               ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d %d" ,&a,b);
	printf("%d %d/n" ,a*b???,a*2+b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:31: error: expected expression before '?' token
    5 |         printf("%d %d/n" ,a*b???,a*2+b*2);
      |                               ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d %d" ,&a&b);
	printf("%d %d/n" ,a*b???,a*2++b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:26: error: invalid operands to binary & (have 'int *' and 'int')
    4 |         scanf("%d %d" ,&a&b);
      |                        ~~^
      |                        |
      |                        int *
main.c:5:31: error: expected expression before '?' token
    5 |         printf("%d %d/n" ,a*b???,a*2++b*2);
      |                               ^
Language: C

#include <stdio.h>
int main(void){
	int a,b;
	scanf("%d%d" ,&a,&b);
	printf("%d %d/n" ,a*b???,a*2+b*2);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:31: error: expected expression before '?' token
    5 |         printf("%d %d/n" ,a*b???,a*2+b*2);
      |                               ^
Language: C

#include <stdio.h>

int main(void)
{
 int a, b;

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

printf("%d %d?\n", a * b, a * 2 + b * 2);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'scant'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 | scant("%d %d", &a , &b);
      | ^~~~~
      | scanf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:10:1: error: expected expression before '?' token
   10 | ???}
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:10: warning: missing terminating " character
    6 |   printf("%d %d\n,a*b,a+b+a+b);
      |          ^
main.c:6:10: error: missing terminating " character
    6 |   printf("%d %d\n,a*b,a+b+a+b);
      |          ^~~~~~~~~~~~~~~~~~~~~~
main.c:7:3: error: expected expression before 'return'
    7 |   return 0;
      |   ^~~~~~
main.c:7:12: error: expected ';' before '}' token
    7 |   return 0;
      |            ^
      |            ;
    8 | };
      | ~
Language: C


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


scanf("%d %d", &a, &b);
d=2*a+2*b;
c = a* b;

printf("%d %d",c,d);

Compiler output:
main.c: In function 'main':
main.c:13:1: error: expected declaration or statement at end of input
   13 | printf("%d %d",c,d);
      | ^~~~~~
Language: C

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

print("%d %d\n", a*b, 2*(a+b));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 | print("%d %d\n", a*b, 2*(a+b));
      | ^~~~~
      | printf
Language: C

#include <stdio.h>

int main(void){

	int a,b;

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

	printf("%d %d\n",a*b.a+a+b+b);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:29: error: request for member 'a' in something not a structure or union
    9 |         printf("%d %d\n",a*b.a+a+b+b);
      |                             ^
Language: C

#include <stdio.h>

int main(void)
{
 int a,b,x,y;

scanf("%d\n",&a)
scanf("%d\n",&b)

printf("%d %d\n",2a+2b,a*b);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:17: error: expected ';' before 'scanf'
    7 | scanf("%d\n",&a)
      |                 ^
      |                 ;
    8 | scanf("%d\n",&b)
      | ~~~~~            
main.c:10:18: error: invalid suffix "a" on integer constant
   10 | printf("%d %d\n",2a+2b,a*b);
      |                  ^~
main.c:10:21: error: invalid suffix "b" on integer constant
   10 | printf("%d %d\n",2a+2b,a*b);
      |                     ^~
Language: C

#include <stdio.h>

int main(void)
{
 int a,b;

scanf("%d\n",&a)
scanf("%d\n",&b)

printf("%d %d\n",2a+2b,a*b);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:17: error: expected ';' before 'scanf'
    7 | scanf("%d\n",&a)
      |                 ^
      |                 ;
    8 | scanf("%d\n",&b)
      | ~~~~~            
main.c:10:18: error: invalid suffix "a" on integer constant
   10 | printf("%d %d\n",2a+2b,a*b);
      |                  ^~
main.c:10:21: error: invalid suffix "b" on integer constant
   10 | printf("%d %d\n",2a+2b,a*b);
      |                     ^~
Language: C

#include <stdio.h>

int main(void)
{
 int a,b;

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

printf("%d %d\n",2a+2b,a*b);

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:18: error: invalid suffix "a" on integer constant
   10 | printf("%d %d\n",2a+2b,a*b);
      |                  ^~
main.c:10:21: error: invalid suffix "b" on integer constant
   10 | printf("%d %d\n",2a+2b,a*b);
      |                     ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:19: error: invalid operands to binary & (have 'int *' and 'int')
    5 |    scanf("%d%d",&a&b);
      |                 ~~^
      |                 |
      |                 int *
Language: C

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

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

#include <stdio.h>

int main (int argc, char** argv)
{
    int w, h, s, c;
    scanf("%d %d", &, w, h);

    int c = (w + h) * 2;
    int s = w * h;


    printf("%d %d\n", c, s);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:21: error: expected expression before ',' token
    6 |     scanf("%d %d", &, w, h);
      |                     ^
main.c:8:9: error: redeclaration of 'c' with no linkage
    8 |     int c = (w + h) * 2;
      |         ^
main.c:5:18: note: previous declaration of 'c' with type 'int'
    5 |     int w, h, s, c;
      |                  ^
main.c:9:9: error: redeclaration of 's' with no linkage
    9 |     int s = w * h;
      |         ^
main.c:5:15: note: previous declaration of 's' with type 'int'
    5 |     int w, h, s, c;
      |               ^
Language: C

#include <stdio.h>

int main (int argc, char** argv)
{
    int w, h, s, c;
    scanf("%d %d", &w, &h);

    int c = (w + h) * 2;
    int s = w * h;


    printf("%d %d\n", c, s);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: redeclaration of 'c' with no linkage
    8 |     int c = (w + h) * 2;
      |         ^
main.c:5:18: note: previous declaration of 'c' with type 'int'
    5 |     int w, h, s, c;
      |                  ^
main.c:9:9: error: redeclaration of 's' with no linkage
    9 |     int s = w * h;
      |         ^
main.c:5:15: note: previous declaration of 's' with type 'int'
    5 |     int w, h, s, c;
      |               ^
Language: C

#include <stdio.h>

    int main(void)
    {
        int a,b;
        scanf("%d %d",&a,&b);
        a=a*b;
        b=(a+b)*2;
        printf("%d %d"\n,a,b);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:23: error: stray '\' in program
    9 |         printf("%d %d"\n,a,b);
      |                       ^
main.c:9:23: error: expected ')' before 'n'
    9 |         printf("%d %d"\n,a,b);
      |               ~       ^~
      |                       )
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b;
        scanf("%d%d",&a,&b);
        x=a*b;
        y=(a+b)*2;
        printf("%d%*s%d",x,1,'',y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:30: error: empty character constant
    9 |         printf("%d%*s%d",x,1,'',y);
      |                              ^~
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b;
        scanf("%d%d",&a,&b);
        x=a*b;
        y=(a+b)*2;
        printf("%d%d",x,'',y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:25: error: empty character constant
    9 |         printf("%d%d",x,'',y);
      |                         ^~
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b;
        scanf("%d%d",&a,&b);
        x=a*b;
        y=(a+b)*2;
        printf("%d%*%d",x,'',y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:27: error: empty character constant
    9 |         printf("%d%*%d",x,'',y);
      |                           ^~
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b;
        scanf("%d %d",&a,&b);
        x=a*b;
        y=(a+b)*2;
        printf("%d%d",x,'',y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:25: error: empty character constant
    9 |         printf("%d%d",x,'',y);
      |                         ^~
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b;
        scanf("%d%d",&a,'',&b);
        x=a*b;
        y=(a+b)*2;
        printf("%d%d",x,'',y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:6:25: error: empty character constant
    6 |         scanf("%d%d",&a,'',&b);
      |                         ^~
main.c:9:25: error: empty character constant
    9 |         printf("%d%d",x,'',y);
      |                         ^~
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b;
        scanf("%d%d",&a,&b);
        x=a*b;
        y=(a+b)*2;
        printf("%d %d",x,'',y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:26: error: empty character constant
    9 |         printf("%d %d",x,'',y);
      |                          ^~
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b;
        scanf("%d%d",&a,&b);
        x=a*b;
        y=(a+b)*2;
        printf("%d%s%d",x,'',y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:27: error: empty character constant
    9 |         printf("%d%s%d",x,'',y);
      |                           ^~
Language: C

#include <stdio.h>

    int main(void)
    {
        int x,y,a,b,z;
        scanf("%d%d",&a,&b);
        x=a*b;
        y=(a+b)*2;
        z='';
        printf("%d%d%d",x,z,y);
	return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:11: error: empty character constant
    9 |         z='';
      |           ^~
Language: C

#include <stdio.h>

    int main(void)
    {
      int x,y,a,b;
      scanf("%d%d",&a,&b);
      x=a*b;
      y=(a+b)*2;
      printf("%d%s%d",x,'',y);
      return 0;
     }

Compiler output:
main.c: In function 'main':
main.c:9:25: error: empty character constant
    9 |       printf("%d%s%d",x,'',y);
      |                         ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:18: error: expected expression before '%' token
    4 | scanf("%d %d",&a,%d);
      |                  ^
main.c:5:7: error: 'd' undeclared (first use in this function)
    5 | area=*d;
      |       ^
main.c:5:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

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

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

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

#include<stdio.h>
 int main(){
	int a,b,area,length;
	scanf("%d %d",&a,&b);
	area=a*b;
	length=2*(a+b);
	printf("%d %d\n",area,length);
	return 0;a

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

#include <stdio.h>

int main(){
	int x;
	scanf("%d","%d", &a,&b);
	printf("%d\n","%d\n",a,b);

	return 0;	
}

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

#include <stdio.h>

int main(){
	int x;
	scanf("%d","%d", &a, &b);
	printf("%d\n","%d\n",a*b,2*(a+b));

	return 0;	
}

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:26: error: expected expression before '%' token
    5 |         scanf("%d %d",&a,%b);
      |                          ^
main.c:7:9: error: 'length' undeclared (first use in this function); did you mean 'lengt'?
    7 |         length=2*(a+b);
      |         ^~~~~~
      |         lengt
main.c:7:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

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

#include<stdio.h>
int main() {
  int i,j;
  scanf("%d",i);
  scanf("%d",j);
  prinft(%d %d",i,j);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'prinft'; did you mean 'printf'? [-Wimplicit-function-declaration]
    6 |   prinft(%d %d",i,j);
      |   ^~~~~~
      |   printf
main.c:6:10: error: expected expression before '%' token
    6 |   prinft(%d %d",i,j);
      |          ^
main.c:6:15: warning: missing terminating " character
    6 |   prinft(%d %d",i,j);
      |               ^
main.c:6:15: error: missing terminating " character
    6 |   prinft(%d %d",i,j);
      |               ^~~~~~~
main.c:7:12: error: expected ';' before '}' token
    7 |   return 0;
      |            ^
      |            ;
    8 | }
      | ~
Language: C

#include <stdil.h>

int main() {
  int length = 0;
  int height = 0;
  int area = 0;
  int cir = 0;

  scanf("%d %d",&length,&height);

  area = length * height;
  cir = length * 2 + height * 2;

  printf("%d %d\n", area, cir);

  return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:5:17: error: expected ')' before 'a'
    5 | printf("%d %d\n"a*b,a*2+b*2);
      |       ~         ^
      |                 )
Language: C

#include <stdio.h>

int main()
{
    int data1, data2;
    scanf("%d %d", &data1, &data2);
    printf("%d %d\n", data1 * data2, 2 * (data1 + data2));
    retrun 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:5: error: 'retrun' undeclared (first use in this function)
    8 |     retrun 0;
      |     ^~~~~~
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:11: error: expected ';' before numeric constant
    8 |     retrun 0;
      |           ^~
      |           ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:25: error: expected ')' before 'a'
    6 |     printf("%d,%d\n",a*b a*2+b*2);
      |           ~             ^~
      |                         )
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:25: error: expected ')' before 'a'
    6 |     printf("%d %d\n",a*b a*2+b*2);
      |           ~             ^~
      |                         )
Language: C

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:25: error: called object is not a function or function pointer
    6 |    printf("%d %d\n",a*b,2(a+b));
      |                         ^
Language: C

#include<stdio.h>

int main(void){

int a,b;

scanf("%d",&a); 

scanf("%d",&b);


printf("??¢??????%d??§??¨????????????%d??§???\n",a*b 2*(a+b));

return 0; 

}

Compiler output:
main.c: In function 'main':
main.c:12:53: error: expected ')' before numeric constant
   12 | printf("??¢??????%d??§??¨????????????%d??§???\n",a*b 2*(a+b));
      |       ~                                             ^~
      |                                                     )
Language: C

#include <stdio.h>

int main(void){


int a b;


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


printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    6 | int a b;
      |       ^
main.c:6:7: error: 'b' undeclared (first use in this function)
main.c:6:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:16: error: 'a' undeclared (first use in this function)
    9 | scanf("%d %d",&a &b);
      |                ^
main.c:12:65: error: expected ')' before ';' token
   12 | printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);
      |       ~                                                         ^
      |                                                                 )
main.c:15:10: error: expected ';' before '}' token
   15 | return 0;
      |          ^
      |          ;
......
   18 | }
      | ~
Language: C

#include <stdio.h>

int main(void){


int a,b;


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


printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:9:18: error: invalid operands to binary & (have 'int *' and 'int')
    9 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
main.c:12:65: error: expected ')' before ';' token
   12 | printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);
      |       ~                                                         ^
      |                                                                 )
main.c:15:10: error: expected ';' before '}' token
   15 | return 0;
      |          ^
      |          ;
......
   18 | }
      | ~
Language: C

#include <stdio.h>

int main(void){

int a,b;

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

printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);

return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:18: error: invalid operands to binary & (have 'int *' and 'int')
    7 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
main.c:9:65: error: expected ')' before ';' token
    9 | printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);
      |       ~                                                         ^
      |                                                                 )
main.c:11:10: error: expected ';' before '}' token
   11 | return 0;
      |          ^
      |          ;
   12 | 
   13 | }
      | ~
Language: C

#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a &b);
printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'int *' and 'int')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
main.c:5:65: error: expected ')' before ';' token
    5 | printf("??¢?????????d???,??¨????????????%d???\n",a*b,(2*a)+(2*b);
      |       ~                                                         ^
      |                                                                 )
main.c:6:10: error: expected ';' before '}' token
    6 | return 0;
      |          ^
      |          ;
    7 | }
      | ~
Language: C

#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a &b);
printf("??¢?????????d???,??¨???????????????d???\n",a*b,(2*a)+(2*b));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'int *' and 'int')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
Language: C

#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a &b);
printf("??¢??????%d,??¨????????????%d\n",a*b,(2*a)+(2*b));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'int *' and 'int')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
Language: C

#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a &b);
printf("??¢??????%d\n",a*b);
printf("??¨????????????%d\n",(2*a)+(2*b));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'int *' and 'int')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
Language: C

#include <stdio.h>

int main(void){


int a b;


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


printf("??¢??????%d???,??¨????????????%d???\n",a*b,2*(a+b));


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    6 | int a b;
      |       ^
main.c:6:7: error: 'b' undeclared (first use in this function)
main.c:6:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:16: error: 'a' undeclared (first use in this function)
    9 | scanf("%d %d",&a &b);
      |                ^
Language: C

#include <stdio.h>

int main(void){


int a b;


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


printf("??¢??????%d,??¨????????????%d\n",a*b,2*(a+b));


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    6 | int a b;
      |       ^
main.c:6:7: error: 'b' undeclared (first use in this function)
main.c:6:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:16: error: 'a' undeclared (first use in this function)
    9 | scanf("%d %d",&a &b);
      |                ^
Language: C

#include <stdio.h>
int main(void){
int a,b;
scanf("%d %d",&a &b);
printf("??¢??????%d,??¨????????????%d\n",a*b,2*(a+b));
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:18: error: invalid operands to binary & (have 'int *' and 'int')
    4 | scanf("%d %d",&a &b);
      |               ~~ ^
      |               |
      |               int *
Language: C

#include <stdio.h>

int main(void)


{


    int a b;


    scanf("%d",&a);


    scanf("%d",&b);


    printf("%d %d",a*b,2*a+2*b);


    return 0;


}

Compiler output:
main.c: In function 'main':
main.c:9:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    9 |     int a b;
      |           ^
main.c:9:11: error: 'b' undeclared (first use in this function)
main.c:9:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:17: error: 'a' undeclared (first use in this function)
   12 |     scanf("%d",&a);
      |                 ^
Language: C

#include <stdio.h>

int main(void)


{


    int a b;
    printf("%d %d",a*b,2*a+2*b);
    return 0;


}

Compiler output:
main.c: In function 'main':
main.c:9:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    9 |     int a b;
      |           ^
main.c:9:11: error: 'b' undeclared (first use in this function)
main.c:9:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:20: error: 'a' undeclared (first use in this function)
   10 |     printf("%d %d",a*b,2*a+2*b);
      |                    ^
Language: C

#include<stdio.h>

int main(void)


{


int a,b ;


scanf("%d",&a);


scanf("%d",&b);


printf("%d\n",a*b ) ;


printf("%d\n,2a+2b);


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:21:8: warning: missing terminating " character
   21 | printf("%d\n,2a+2b);
      |        ^
main.c:21:8: error: missing terminating " character
   21 | printf("%d\n,2a+2b);
      |        ^~~~~~~~~~~~~
main.c:24:1: error: expected expression before 'return'
   24 | return 0;
      | ^~~~~~
main.c:24:10: error: expected ';' before '}' token
   24 | return 0;
      |          ^
      |          ;
......
   27 | }
      | ~
Language: C

#include<stdio.h>

int main(void)


{


int a,b ;


scanf("%d",&a);


scanf("%d",&b);


printf("%d %d\n",a*b,2a;2b) ;


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:18:22: error: invalid suffix "a" on integer constant
   18 | printf("%d %d\n",a*b,2a;2b) ;
      |                      ^~
main.c:18:24: error: expected ')' before ';' token
   18 | printf("%d %d\n",a*b,2a;2b) ;
      |       ~                ^
      |                        )
main.c:18:25: error: invalid suffix "b" on integer constant
   18 | printf("%d %d\n",a*b,2a;2b) ;
      |                         ^~
Language: C

#include<stdio.h>

int main(void)


{l


int a,b ;


scanf("%d",&a);


scanf("%d",&b);


printf("%d %d\n",a*b,2a+2b) ;


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:2: error: 'l' undeclared (first use in this function)
    6 | {l
      |  ^
main.c:6:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:3: error: expected ';' before 'int'
    6 | {l
      |   ^
      |   ;
......
    9 | int a,b ;
      | ~~~
main.c:12:13: error: 'a' undeclared (first use in this function)
   12 | scanf("%d",&a);
      |             ^
main.c:15:13: error: 'b' undeclared (first use in this function)
   15 | scanf("%d",&b);
      |             ^
main.c:18:22: error: invalid suffix "a" on integer constant
   18 | printf("%d %d\n",a*b,2a+2b) ;
      |                      ^~
main.c:18:25: error: invalid suffix "b" on integer constant
   18 | printf("%d %d\n",a*b,2a+2b) ;
      |                         ^~
Language: C

#include <stdio.h>

int main (void)


{


 int a,b;


 printf("%d %d\n",a*b,2a+2b);


 return 0;


}

Compiler output:
main.c: In function 'main':
main.c:12:23: error: invalid suffix "a" on integer constant
   12 |  printf("%d %d\n",a*b,2a+2b);
      |                       ^~
main.c:12:26: error: invalid suffix "b" on integer constant
   12 |  printf("%d %d\n",a*b,2a+2b);
      |                          ^~
Language: C

#include<stdio.h>

int main(void)


{l


int a,b ;


scanf("%d",&a);


scanf("%d",&b);


printf("%d %d\n",a*b,a+a+b+b) ;


return 0;


}

Compiler output:
main.c: In function 'main':
main.c:6:2: error: 'l' undeclared (first use in this function)
    6 | {l
      |  ^
main.c:6:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:3: error: expected ';' before 'int'
    6 | {l
      |   ^
      |   ;
......
    9 | int a,b ;
      | ~~~
main.c:12:13: error: 'a' undeclared (first use in this function)
   12 | scanf("%d",&a);
      |             ^
main.c:15:13: error: 'b' undeclared (first use in this function)
   15 | scanf("%d",&b);
      |             ^
Language: C

#include <stdio.h>

int main (void)


{

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

   printf("%d,%d\n",a*b,2a*2b);

   return 0;


}

Compiler output:
main.c: In function 'main':
main.c:11:25: error: invalid suffix "a" on integer constant
   11 |    printf("%d,%d\n",a*b,2a*2b);
      |                         ^~
main.c:11:28: error: invalid suffix "b" on integer constant
   11 |    printf("%d,%d\n",a*b,2a*2b);
      |                            ^~