My issue
What done
My code
#include<stdio.h>
int main()
{
printf("%d",2+1);
printf("%d",3+4);
}
Learning course: Learn C Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-programming-c/RCPITLPC02/problems/RCPITCP11
What done
#include<stdio.h>
int main()
{
printf("%d",2+1);
printf("%d",3+4);
}
Learning course: Learn C Programming
Problem Link: https://www.codechef.com/learn/course/rcpit-programming-c/RCPITLPC02/problems/RCPITCP11
In the given code
Firstly printf is used and then format identifier %d is used to print 2+1 which is 3
Second printf is used with format identifier to print sum of 3 and 4 which is 7
So the output of the given code is 37
Solution is 3, 7