Header Ads Widget

WAP for Add two numbers in c language

 WAP for Add two numbers in c Language 

Given two numbers , objective of code is to write a program to add both numbers in c language .

Example :-

input:-
5 4
Output:-
9

WAP for Add two numbers in c Language 

Given two integers the objective of code is to write a program that will give sum of both integers in c language.

Code:-

#include<stdio.h>
int main()
{
int a,b,sum;
a=5;
b=4;
sum=a+b;
printf("%d",sum);
}


Recommended Post :-

HCL Coding Questions:-

Capgemini Coding Questions:-

Companies interview:-

Full C course:-    

Key points:-

Cracking the coding interview:-

 Array and string:-

Tree and graph:-

Hackerearth Problems:-

Hackerrank Problems:-

Data structure:-

 MCQs:-




Post a Comment

0 Comments