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...


In scanf h is used for

Answers were Sorted based on User's Feedback



In scanf h is used for..

Answer / allen

I had the same question, and after some research, i found
that it is a type modifier. for example

%d -> int
%hd -> short int
%ld -> long int

Is This Answer Correct ?    6 Yes 0 No

In scanf h is used for..

Answer / guest

I Guess short int

Is This Answer Correct ?    7 Yes 2 No

In scanf h is used for..

Answer / vineet saurabh

In Dennnis Ritchie's "The C Programming Language 2nd ed" PN-244

h is a length modifier.
..... 'h' indicates that the corresponding argument is to be printed as ashort or unsigned short

Dont use 'H' instead.

Is This Answer Correct ?    3 Yes 0 No

In scanf h is used for..

Answer / anitha

For hexa decimal numbers

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More C Interview Questions

An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array

0 Answers  


What is difference between main and void main?

0 Answers  


why do some people write if(0 == x) instead of if(x == 0)?

0 Answers  


what is the difference between. system call and library function?

2 Answers   CDAC, Satyam,


What are c identifiers?

0 Answers  


write a own function for strstr

1 Answers   LG Soft,


ASCII stands for

1 Answers  


write a program for the normal snake games find in most of the mobiles.

0 Answers   Accenture, Wipro,


difference between object file and executable file

0 Answers  


How would you obtain the current time and difference between two times?

0 Answers   TISL,


How to print %d in output

6 Answers   Wipro,


write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)

26 Answers   ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,


Categories