Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a c program to add two integer numbers without using
arithmetic operator +

Answers were Sorted based on User's Feedback



write a c program to add two integer numbers without using arithmetic operator +..

Answer / jithender palle(vaagdevi wgl)

main()
{
int a=10,b=30,c;
c=a|b;
printf("%d",c);
}

Is This Answer Correct ?    8 Yes 21 No

write a c program to add two integer numbers without using arithmetic operator +..

Answer / reddy

(a+b)=square root([(4ab)+[(a-b)(a-b)]])

Is This Answer Correct ?    8 Yes 31 No

write a c program to add two integer numbers without using arithmetic operator +..

Answer / anbuchristi

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n Enter The Number:");
scanf("%d",&a);
printf("\n Enter the Number:");
scanf("%d",&b);
c=a+b;
printf("\n The Result Is");
printf("\n ~~~ ~~~~~~ ~~");
printf("%d",c);
getch();
}

Is This Answer Correct ?    20 Yes 74 No

Post New Answer

More C Interview Questions

program to find the ASCII value of a number

8 Answers  


Is c still relevant?

0 Answers  


Write a programme to find even numbers without using any conditional statement?

3 Answers   ADD Software, Infosys,


Write a program to find the given number is odd or even without using any loops(if,for,do,while)

4 Answers   CNC, Gokul,


What are the different types of data structures in c?

0 Answers  


Is fortran still used in 2018?

0 Answers  


What is the acronym for ansi?

0 Answers  


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

0 Answers  


What are the advantages of using Unions?

0 Answers   IBS,


What is the use of a semicolon (;) at the end of every program statement?

1 Answers  


how can i print "hello"

3 Answers  


Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program

19 Answers   CTS, HCL, TCS,


Categories