what is output of the following statetment?Printf(“%x”,
-1<<4); ?

Answer Posted / ankurmohansharma

In case of 16- bit compiler answer will be fff0
In case of 32-bit compiler answer will be fffffff0.

Reason being same as of above two

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Find MAXIMUM of three distinct integers using a single C statement

636


What is bubble sort technique in c?

600


What extern c means?

553


What is array in C

719


Can you subtract pointers from each other? Why would you?

570






What is volatile, register definition in C

704


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1194


What are the restrictions of a modulus operator?

645


Why pointers are used in c?

596


What is file in c preprocessor?

666


Explain can the sizeof operator be used to tell the size of an array passed to a function?

603


What are the two types of functions in c?

579


What does char * * argv mean in c?

635


Where are local variables stored in c?

584


Can two or more operators such as and be combined in a single line of program code?

818