fork download
  1. #include<stdio.h>
  2. main()
  3. {
  4. int a,b,c;
  5. printf("Введите два целых числа\n");
  6. scanf("%d%d", &a, &b);
  7. c=a;
  8. b=c:
  9. printf("%d%d",c,b)
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:2:5: warning: return type defaults to ‘int’ [-Wimplicit-int]
     main()
     ^~~~
prog.c: In function ‘main’:
prog.c:8:8: error: expected ‘;’ before ‘:’ token
     b=c:
        ^
        ;
prog.c:6:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d", &a, &b);
     ^~~~~~~~~~~~~~~~~~~~~
stdout
Standard output is empty