1 | initial version |
The method to calculate the total of two whole numbers in the programming language C is by using the addition operator "+".
Example:
int num1 = 10; int num2 = 5; int total = num1 + num2; // The value of total will be 15
printf("The total is %d", total); // Output: The total is 15