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

Answer Posted / rakesh

It should be compiler, bcoz turbo c and VC hav different sizes for integer.

of course OS and processor interfere, but only for letting compiler get Installed or not... after which its compilers work.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use a 'Local Block'?

706


What is static memory allocation? Explain

612


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2233


Which of these functions is safer to use : fgets(), gets()? Why?

619


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1609






Who developed c language?

622


In which header file is the null macro defined?

833


Explain what standard functions are available to manipulate strings?

595


What are logical errors and how does it differ from syntax errors?

639


What is wrong with this initialization?

573


What is an auto keyword in c?

629


Explain the use of keyword 'register' with respect to variables.

578


What is spaghetti programming?

655


Should a function contain a return statement if it does not return a value?

576


How does selection sort work in c?

605