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
Function calling procedures? and their differences? Why should one go for Call by Reference?
I need previous papers of CSC.......plz help out by posting them.......
What do you understand by normalization of pointers?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What is %s and %d in c?
How can you tell whether two strings are the same?
Why structure is used in c?
Why is %d used in c?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What does *p++ do? What does it point to?
Can we use visual studio for c?
Write the control statements in C language
Who developed c language?
What is modeling?
What is an auto variable in c?