Answer Posted / arpita
p=2, n=5
p!=np
2!=5*2
2!=10
hence prooved.
p=1,n=1
p!=np
1!=1*1
but 1=1
hence disprooved.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the correct declaration of main?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is difference between && and & in c?
What is meant by type casting?
Explain b+ tree?
In which layer of the network datastructure format change is done
Do pointers store the address of value or the actual value of a variable?
What is a union?
Explain the meaning of keyword 'extern' in a function declaration.
What is a keyword?
how to find binary of number?
What is the difference between new and malloc functions?
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.
What are runtime error?
Why ca not I do something like this?