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

Explain a file operation in C with an example.

1173


Is python a c language?

1053


Linked lists -- can you tell me how to check whether a linked list is circular?

1133


Explain what is the difference between null and nul?

1212


What does s c mean on snapchat?

1184


Give differences between - new and malloc() , delete and free() ?

1151


Write a program to print “hello world” without using semicolon?

1179


What does calloc stand for?

1239


code for quick sort?

2080


When is the “void” keyword used in a function?

1577


What is the purpose of realloc()?

1195


Explain the difference between exit() and _exit() function?

1210


Which is better pointer or array?

1067


What is the difference between new and malloc functions?

1177


What does %d do in c?

1010