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
What are the uses of null pointers?
How to define structures? ·
Why does everyone say not to use scanf? What should I use instead?
Are enumerations really portable?
Explain how can I convert a string to a number?
What is dynamic dispatch in c++?
What are identifiers c?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
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
What is %s and %d in c?
With the help of using classes, write a program to add two numbers.
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Explain how can you check to see whether a symbol is defined?
Is return a keyword in c?
Why is a semicolon (;) put at the end of every program statement?