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

How do you initialize function pointers? Give an example?

3 Answers  


whether itis a structured language?

1 Answers   Microsoft,


In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?

5 Answers  


How many keywords are there in c?

0 Answers  


What is c preprocessor mean?

0 Answers  


What does #pragma once mean?

0 Answers   Celstream,


Which type of language is c?

0 Answers  


do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?

1 Answers   Oracle,


Differentiate between new and malloc(), delete and free() ?

0 Answers   iNautix,


without using control structures and control structures find the max and min of given 2 nos

1 Answers   HCL,


What is the condition that is applied with ?: Operator?

0 Answers  


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

2 Answers  


Categories