what is output of the following statetment?Printf(“%x”,
-1<<4); ?
Answer Posted / sasmita lenka
Answer fff0.........As -1 is internally represented as as
all 1's.When left shifted four times the least significant 4
bits are filled with 0's.The %x format specifier specifies
that the integer value be printed as a hexadecimal value.
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
will u please send me the placement papers to my mail???????????????????
What does volatile do?
Explain how can you be sure that a program follows the ansi c standard?
What is hash table in c?
What is c basic?
What does void main () mean?
What is the use of function overloading in C?
What is the difference between #include and #include 'file' ?
What is the deal on sprintf_s return value?
What are disadvantages of C language.
Stimulate calculator using Switch-case-default statement for two numbers
What is meant by high-order and low-order bytes?
Why c language?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?