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 |
How do you initialize function pointers? Give an example?
whether itis a structured language?
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?
How many keywords are there in c?
What is c preprocessor mean?
What does #pragma once mean?
Which type of language is c?
do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?
Differentiate between new and malloc(), delete and free() ?
without using control structures and control structures find the max and min of given 2 nos
What is the condition that is applied with ?: Operator?
Program to write some contents into a file using file operations with proper error messages.