C Program to find sum of two numbers

Annotation 2020 04 23 010807

C Program to find sum of two numbers


int main()


   int a, b, sum;

   printf("\nEnter two no: ");

   scanf("%d %d", &a, &b);

   sum = a + b;

   printf("Sum : %d", sum);



Output :

Enter two no: 5 6

Sum : 11


Visit www.askmattrab.com for more academic resources.


Aayush Bhattarai asked 11 months ago

what does \n and %d mean?

83586840 929761687420496 5766676855457316864 o
Raunak Kumar answered 11 months ago

Here, in C programming \n is an escape character that helps to create a new line whereas %d is a format specifier that allows to specify only Integer values.

Palindrome product

Manoj Gurung • Computer

Largest palindrome product

Note: The following program is written in python.This is the solution of the Q.No.4 of projecteuler.net site.A palindromic number reads the same bo...

1 Question 1 Like 1566 Views