16 lines
380 B
C
16 lines
380 B
C
#include <stdio.h>
|
|
#ifdef __cplusplus
|
|
#error This C file must be compiled as C, not C++.
|
|
#endif
|
|
#if __STDC_VERSION__ < 202311L
|
|
#error C23 is required.
|
|
#endif
|
|
int main(void) {
|
|
long long a, b;
|
|
printf("C23 | GCC %s\nInput two integers: ", __VERSION__);
|
|
fflush(stdout);
|
|
if (scanf("%lld %lld", &a, &b) != 2) return 1;
|
|
printf("SUM = %lld\n", a + b);
|
|
return 0;
|
|
}
|