In scanf h is used for
Answers were Sorted based on User's Feedback
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 |
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 |
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
What is difference between main and void main?
why do some people write if(0 == x) instead of if(x == 0)?
what is the difference between. system call and library function?
What are c identifiers?
write a own function for strstr
ASCII stands for
write a program for the normal snake games find in most of the mobiles.
difference between object file and executable file
How would you obtain the current time and difference between two times?
How to print %d in output
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,