How to add two numbers in C program?

Below is the C program to add two numbers: #include<stdio.h>. int main () {. int A, B, sum = 0; printf(“Enter two numbers A and B : \n”); scanf("%d%d", &A, &B); sum = A + B; printf(“Sum of A and B is: %d”, sum);
For More Information Please Refer:


You May Also Like to Read: