Created
April 9, 2021 11:22
-
-
Save btechmag/8762e986b0c21115963b7a6e64afb50d to your computer and use it in GitHub Desktop.
Program to add two numbers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
main() | |
{ | |
int a,b,sum; | |
a=2,b=3; | |
sum=a+b; | |
printf("the sum of a&b is%d\n",sum); | |
return 0; | |
} | |
output | |
the sum of a&b is 5. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment