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 many data structures are there in c?

617


Explain why c is faster than c++?

575


What is the purpose of void in c?

619


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

635


Can you return null in c?

597






Explain pointers in c programming?

634


What is fflush() function?

644


Explain how can I read and write comma-delimited text?

654


Why is #define used?

790


What is switch in c?

647


what is use of malloc and calloc?

1382


What is string in c language?

625


What is the difference between scanf and fscanf?

664


Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

837


What is the hardest programming language?

671