Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture, TCS,


Tell me what are bitwise shift operators?

0 Answers  


what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }

1 Answers  


Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?

2 Answers   Excel,


Is c pass by value or reference?

0 Answers  






Explain what are the different file extensions involved when programming in c?

0 Answers  


Is fortran still used today?

0 Answers  


How can I find out if there are characters available for reading?

0 Answers  


what does ‘Bus Error’ mean?

1 Answers   ABC,


void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y); }

5 Answers  


What is a node in c?

0 Answers  


What is the use of getchar functions?

0 Answers  






Categories