#include <stdio.h>
int main() {
int a = 5, b = 10;
int sum = a + b;
printf("Sum: %d", sum);
return 0;
}
1) This code calculates the sum of two integers (5 and 10) and prints the result.
2) Hint: Notice how variables are declared and initialized on the same line.
Hint: The printf function uses %d as a placeholder for integer values.