In scanf h is used for

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is spark map function?

587


Is void a keyword in c?

589


4. main() { int c=- -2; printf("c=%d",c); }

1375


What are the 32 keywords in c?

641


What is c definition?

758






Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

676


what are the 10 different models of writing an addition program in C language?

1447


Explain what are multidimensional arrays?

613


When was c language developed?

710


What is the code for 3 questions and answer check in VisualBasic.Net?

1698


Explain what is a static function?

639


What are the advantages of using Unions?

650


What is || operator and how does it function in a program?

639


How can you increase the allowable number of simultaneously open files?

605


Can you tell me how to check whether a linked list is circular?

787