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

4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.

1 Answers   Wipro,


Find greatest number out of 10 number without using loop.

5 Answers   TCS,


writw a program to insert an element in the begning of a doubly linked list

1 Answers  


Difference between for loop and while loop?

1 Answers  


What is the stack in c?

0 Answers  


can u give me the good and very optimised code for a car racing game?

0 Answers  


What are the __date__ and __time__ preprocessor commands?

0 Answers  


write a c program to find the square of a 5 digit number and print the result.

5 Answers   Accenture, Sasken, Vimukti Technologies,


How can I find out how much memory is available?

1 Answers   Persistent,


Write a program to swap two numbers without using a temporary variable?

0 Answers   Infosys,


Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.

0 Answers  


Write a program for the following series? 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 .........1234321............ ..........123454321............ ..........12345654321............ 7 8 9 0 1 Pls............?

5 Answers  


Categories