My issue
how to fix sintax error
My code
#include<stdio.h>
int main() {
printf("%d",123);
}
Learning course: Practice C
Problem Link: CodeChef: Practical coding for everyone
how to fix sintax error
#include<stdio.h>
int main() {
printf("%d",123);
}
Learning course: Practice C
Problem Link: CodeChef: Practical coding for everyone
@keerthigorati
u have to do this problem like this
#include <stdio.h>
int main(void)
{
int n;
scanf("%d",&n);
printf("%d",n);
return 0;
}
just add return 0 at end ; as you use int main it should return an integer;