what is output of the following statetment?Printf(“%x”,
-1<<4); ?
Answer Posted / vignesh1988i
here the equivalent representation for -1 in memory is it's
two's compliment notation..... so alll the 16 bits will be
HIGH (1).... so four time we are moving the bits left
side.... so after that it will result as 65520.... the
equivalent HEX value for 65520 will get printed.........
thank u
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
What is the difference between abs() and fabs() functions?
What is clrscr ()?
write a program in c language to print your bio-data on the screen by using functions.
Are there any problems with performing mathematical operations on different variable types?
What are predefined functions in c?
What is quick sort in c?
What is the difference between printf and scanf in c?
What is return type in c?
What is the purpose of scanf() and printf() functions?
What is c programing language?
Differentiate between #include<...> and #include '...'
What are runtime error?
What is type qualifiers?
How do I copy files?