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

Is c still relevant?

0 Answers  


write a program that will read the temperature in Celsius and convert that into Fahrenheit.

1 Answers  


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

0 Answers  


consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is

4 Answers   TCS,


What is masking?

0 Answers  






wats SIZE_T meant for?

1 Answers  


How many keywords (reserve words) are in c?

0 Answers  


What is the role of && operator in a program code?

0 Answers  


How do shell structures work?

0 Answers  


How many identifiers are there in c?

0 Answers  


write a program in c language for the multiplication of two matrices using pointers?

8 Answers   Ignou,


Mention four important string handling functions in c languages .

0 Answers  


Categories