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



logic for x=y^n..

Answer / 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

More C Interview Questions

Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa.

1 Answers  


1,1,5,17,61,217,?,?.

3 Answers   Apple,


write a c programme for add of two numbers with out use of arthematic operators

2 Answers  


in which language c language is written?

2 Answers  


What are the different types of control structures in programming?

0 Answers  


What are the different types of storage classes in C?

3 Answers  


what is the difference between global variable & static variable declared out side all the function in the file.

2 Answers  


How many ways are there to swap two numbers without using temporary variable? Give the each logic.

9 Answers  


What's a "sequence point"?

3 Answers  


Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  


What is pointer to pointer in c with example?

0 Answers  


Program to write some contents into a file using file operations with proper error messages.

2 Answers  


Categories