Answer Posted / bhavin patel
Compiles and run
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
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.
How can you access memory located at a certain address?
What is the size of structure in c?
What is variables in c?
What is the purpose of 'register' keyword?
Explain how do you determine a file’s attributes?
What is type qualifiers?
How can I sort more data than will fit in memory?
Is it valid to address one element beyond the end of an array?
Explain the use of bit fieild.
Differentiate between a for loop and a while loop? What are it uses?
What is the general form of #line preprocessor?
Explain the properties of union. What is the size of a union variable
write a program to copy the string using switch case?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if