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 |
How do you view the path?
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC
64/square(4)
code for selection sort?
main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }
send me the code of flow chart generator using C-programming language amd this code should calculate the time and space complexity of the given progran and able to generate flowchart according to the given program?
Differentiate between Macro and ordinary definition.
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
0 Answers Amdocs, Apps Associates,
What is non linear data structure in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
What is structure of c program?
What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value