My issue
How I get 71 out put
My code
#include <stdio.h>
int main(void) {
printf("%d", 3 + 4) ;
printf("%d", 2 + 1) ;
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
How I get 71 out put
#include <stdio.h>
int main(void) {
printf("%d", 3 + 4) ;
printf("%d", 2 + 1) ;
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
You can output 71 using simple printf()
#include <stdio.h>
int main(void) {
printf("%d", 71) ;
return 0;
}
Your code is wrong because of this line
printf("%d", 2 + 1) ;
2+1 != 1 thus your output becomes 73