Answer Posted / anil
* Padding is useful, for example, in conforming to
externally imposed
layouts of machine registers.
* The obvious advantage is efficient access by CPU.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is a buffer in c?
Why doesnt this code work?
What is huge pointer in c?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
Write a program to check armstrong number in c?
What is #include called?
how to introdu5ce my self in serco
Why is c still so popular?
What is a program?
What does == mean in texting?
Why is c known as a mother language?
Explain what are the different data types in c?
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.
Give the rules for variable declaration?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }