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

logic for x=y^n

Answer Posted / abhishek

c=a^b

here ^ is an exclusive or operator whose equation is

(~(a)b)+(~(b)a)

truth table
a b c
1 1 0
1 0 1
0 1 1
0 0 0

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1286


What is sizeof int?

1155


What do you mean by scope of a variable in c?

1059


difference between Low, Middle, High Level languages in c ?

2144


Where are local variables stored in c?

1098


What is array of structure in c programming?

1336


What is the explanation for prototype function in c?

1036


How to get string length of given string in c?

1125


What’s the special use of UNIONS?

1208


What is difference between stdio h and conio h?

1440


What are global variables and how do you declare them?

1176


What are directives in c?

1025


Write a factorial program using C.

1122


write a proram to reverse the string using switch case?

3010


develop algorithms to add polynomials (i) in one variable

2241