Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

When should volatile modifier be used?

954


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1145


What is #line in c?

961


What are types of functions?

975


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1147


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2039


Explain 'bus error'?

1014


What is use of bit field?

1236


explain what are pointers?

968


How does free() know explain how much memory to release?

1012


Is main an identifier in c?

1087


Explain how to reverse singly link list.

1073


Suggesting that there can be 62 seconds in a minute?

996


Why void main is used in c?

999


What is default value of global variable in c?

940