how the size of an integer is decided?
- is it based on processor or compiler or OS?

Answer Posted / sandeep

Its CPU (processor) which decides the size.

Please see the link below-
http://en.wikipedia.org/wiki/Integer_(computer_science)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain pointers in c programming?

733


When should you use a type cast?

682


Explain how can you be sure that a program follows the ansi c standard?

959


What is action and transformation in spark?

688


What is difference between class and structure?

680






What are the benefits of c language?

750


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1595


Write a program to know whether the input number is an armstrong number.

761


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3240


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

2749


What is the purpose of sprintf?

711


write a c program in such a way that if we enter the today date the output should be next day's date.

1797


What is the best style for code layout in c?

710


What standard functions are available to manipulate strings?

674


Difference between MAC vs. IP Addressing

727