main()

{

printf("%x",-1<<4);

}

Answer Posted / susie

Answer :

fff0

Explanation :

-1 is internally represented 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 ?    119 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Develop a routine to reflect an object about an arbitrarily selected plane

3001


What is data _null_? ,Explain with code when u need to use it in data step programming ?

2826


how to test pierrot divisor

2264


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

2866


Write a program to model an exploding firecracker in the xy plane using a particle system

3695






How can you relate the function with the structure? Explain with an appropriate example.

2923


To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

503


why nlogn is the lower limit of any sort algorithm?

2379


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3852


could you please send the program code for multiplying sparse matrix in c????

3078


Cluster head selection in Wireless Sensor Network using C programming language.

3114


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

3716


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2226


write a simple calculator c program to perform addition, subtraction, mul and div.

3153


How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?

2027