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

How do I use void main?

1071


What are the advantages of union?

1039


Is c call by value?

985


What are unions in c?

1004


What is wrong with this declaration?

1078


code for quick sort?

1999


How do c compilers work?

1076


Differentiate between declaring a variable and defining a variable?

1010


What is #include conio h?

979


What functions are in conio h?

1168


Explain what is the benefit of using enum to declare a constant?

1047


Why void is used in c?

985


What is getche() function?

1008


What does it mean when the linker says that _end is undefined?

1061


What is static memory allocation? Explain

1063