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 an array in c?

759


What is the difference between array_name and &array_name?

948


Why c is called a mid level programming language?

761


What are derived data types in c?

769


How can I generate floating-point random numbers?

771






Are pointers integer?

732


What is the difference between union and anonymous union?

1005


What is binary tree in c?

803


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

834


What is the scope of an external variable in c?

730


Lists the benefits of c programming language?

775


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

782


Where does the name "C" come from, anyway?

817


What are local variables c?

707


Is a house a shell structure?

862