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

Answer Posted / rani

I think its compiler specific bcoz a char holds 1byte in c
where as it holds 2 bytes in java.

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what will the preprocessor do for a program?

764


Tell me when is a void pointer used?

824


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

2060


Explain the use of 'auto' keyword in c programming?

869


Explain what does the function toupper() do?

794






Why functions are used in c?

800


What is the heap in c?

809


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

788


How many header files are in c?

717


What is #include cctype?

762


How can you access memory located at a certain address?

825


For what purpose null pointer used?

790


How do you list a file’s date and time?

794


How do you write a program which produces its own source code as output?

799


What is s or c?

768