Write a program to replace n bits from the position p of
the bit representation of an inputted character x with the
one's complement. Method invertBit takes 3 parameters x as
input character, p as position and n as the number of
positions from p. Replace n bits from pth position in 8 bit
character x. Then return the characters by inverting the
bits.
No Answer is Posted For this Question
Be the First to Post Answer
What is chain pointer in c?
what does " calloc" do?
Explain zero based addressing.
what are the compilation steps? ( i want inside the compiler )
i have a written test in tomorrow
write an interactive program to generate the divisors of a given integer.
Explain void pointer?
what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);
Can an array be an Ivalue?
Explain the difference between #include "..." And #include <...> In c?
write an algorithm and a program to count the number of elements in a circularly singly linked list
What is far pointer in c?