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 |
Explain what is the difference between #include and #include 'file' ?
what is the difference between char * const and const char *?
how to compare two strings without using strcmp() function??
why Language C is plateform dependent
What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?
how to find sum of digits in C?
what is diference between return 0 and return NULL??
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.
regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
Who had beaten up hooligan "CHAKULI" in his early college days?
what is constant pointer?