Write a c program to print the sizes and ranges of different
data types in c?



Write a c program to print the sizes and ranges of different data types in c?..

Answer / pavithra

x=sizeof(int);
range=pow(2,x);

Is This Answer Correct ?    24 Yes 15 No

Post New Answer

More C Interview Questions

Do you know what is a programing language ?

0 Answers  


Why is c called a structured programming language?

0 Answers  


in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000

3 Answers  


how to get the starting address of file stored in harddisk through 'C'program.

2 Answers   Siemens,


is c language is a object oreinted language?

5 Answers   TCS,






what is pointer?

13 Answers   HCL, TCS,


Write a code to remove duplicates in a string.

0 Answers   Expedia,


write a program to gat the digt sum of a number (et. 15= >1+5=6)

2 Answers  


What is difference between main and void main?

0 Answers  


write a program for egyptian fractions in c?

1 Answers   Satyam,


What are the two forms of #include directive?

0 Answers   Aspire, Infogain,


How can I remove the leading spaces from a string?

0 Answers  


Categories