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

Answer Posted / rahul

definitely os bcoz.c compiler occupies 2 bytes in windows
where as the same c compiler occupies 4 bytes in linux.

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is typedef example?

616


What are high level languages like C and FORTRAN also known as?

682


What is #pragma statements?

583


What is the function of volatile in c language?

662


Compare and contrast compilers from interpreters.

679






write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3286


What is structure data type in c?

566


How macro execution is faster than function ?

661


What is the use of pointers in C?

612


write a c program in such a way that if we enter the today date the output should be next day's date.

1677


How do you use a pointer to a function?

629


Why flag is used in c?

651


Compare interpreters and compilers.

635


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

805


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

1575