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?

Answer Posted / pavithra

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

Is This Answer Correct ?    24 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of a semicolon (;) at the end of every program statement?

228


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

214


Explain high-order bytes.

242


Why calloc is better than malloc?

142


What is keyword in c?

185






What kind of structure is a house?

179


Explain function?

215


List some of the static data structures in C?

279


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

215


Explain heap and queue.

235


Explain what is page thrashing?

201


Define C in your own Language.

231


What is a newline escape sequence?

227


What is typedf?

210


a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above

418