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

Answer Posted / mangesh

every book says it depends on machine.......some may have
same size for "int" and "long int".......
by machine they mean processor only.......
coz it cant be either compiler or OS......as they are part
of virtual...i mean software...not machine...

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

application attempts to perform an operation?

1480


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

2518


How can you restore a redirected standard stream?

594


What are the 4 types of functions?

559


Which header file should you include if you are to develop a function which can accept variable number of arguments?

793






What is the 'named constructor idiom'?

629


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1974


What are the types of macro formats?

590


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

639


What are loops in c?

533


What is volatile, register definition in C

672


What are the different types of endless loops?

606


How can you convert integers to binary or hexadecimal?

604


Differentiate between static and dynamic modeling.

605


What is malloc return c?

588