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

Answer Posted / hrishikesh

ans is compiler and not os or machine dependent or
processor b'coz u can port difft os on same processor .
when in tc it is 2
while in gcc it is 4 byte for int .
so her neither u r processor changes nor kernel as all are
originated from
UNIX.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of null pointers?

675


‎How to define structures? · ‎

733


Why does everyone say not to use scanf? What should I use instead?

822


Are enumerations really portable?

691


Explain how can I convert a string to a number?

725






What is dynamic dispatch in c++?

651


What are identifiers c?

687


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

705


why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above

701


What is %s and %d in c?

672


With the help of using classes, write a program to add two numbers.

725


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

946


Explain how can you check to see whether a symbol is defined?

755


Is return a keyword in c?

709


Why is a semicolon (;) put at the end of every program statement?

729