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 |
What is dynamic variable in c?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
what does data structure mean?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
program to find a smallest number in an array
What is the basic structure of c?
Write a program to display the no of bit difference between any 2 given numbers eg: Num1 will 12->1100 Num2 will 7->0111 the difference in bits are 2.
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321
What is the most efficient way to count the number of bits which are set in an integer?
how can u print a message without using any library function in c
How does free() know explain how much memory to release?
what is a pointer
4 Answers Bank Of America, TCS,