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 +

Answer Posted / nandu

#include<stdio.h>
#include<conio.h.
void main()
{
int a=10,b=20,c;
c=a-(-b);
printf("%d\n",c);
getch();
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #define in c?

1048


What is a list in c?

1031


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1100


What is the meaning of typedef struct in c?

1070


regarding pointers concept

2040


What is difference between structure and union in c programming?

1107


provide an example of the Group by clause, when would you use this clause

2198


What is string length in c?

1094


Describe explain how arrays can be passed to a user defined function

1099


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

1237


What is pointer in c?

1197


Here is a neat trick for checking whether two strings are equal

1020


What is the general form of #line preprocessor?

997


How will you declare an array of three function pointers where each function receives two ints and returns a float?

1363


What is the difference between break and continue?

1525