how the size of an integer is decided?
- is it based on processor or compiler or OS?
Answer Posted / hrishikesh
ans is compiler and not os or machine dependent or
processor b'coz u can port difft os on same processor .
when in tc it is 2
while in gcc it is 4 byte for int .
so her neither u r processor changes nor kernel as all are
originated from
UNIX.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of & in scanf?
How would you rename a function in C?
Why isn't it being handled properly?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the c language function prototype?
WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?
Why C language is a procedural language?
while initialization of array why we use a[][2] why not a[2][]...?
Explain what header files do I need in order to define the standard library functions I use?
What are header files? What are their uses?
How would you obtain the current time and difference between two times?
Give differences between - new and malloc() , delete and free() ?
What is the use of header?
How can I find out how much free space is available on disk?
Is that possible to store 32768 in an int data type variable?