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...

how to add numbers without using arithmetic operators.

Answer Posted / autojack

#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,x=10,c;
clrscr();
c=a|x;
printf("%d",c);
getch();
}

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are global variables and how do you declare them?

1102


Differentiate between functions getch() and getche().

1057


How can I determine whether a machines byte order is big-endian or little-endian?

1067


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

1093


How can I open files mentioned on the command line, and parse option flags?

1074


Why header file is used in c?

1097


How are pointers declared in c?

1069


What is const keyword in c?

1167


What is string length in c?

1110


What is a newline escape sequence?

1108


Difference between pass by reference and pass by value?

1166


Difference between Shallow copy and Deep copy?

2032


Can you please explain the scope of static variables?

1063


What is ctrl c called?

1054


Explain what is a 'locale'?

1084