long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
Answer Posted / raja kumar
yes, i too agree it is compiler dependent. But, can anyone
explain, why it is compiler dependent?
If it is a 16 bit compiler, then the size of int is 2
bytes. If it is a 32 bit compiler, then the size of int is
4 bytes. Is there is any reason behind this? It will be
helpful if anyone clarifies this?
| Is This Answer Correct ? | 15 Yes | 3 No |
Post New Answer View All Answers
can anyone suggest some site name..where i can get some good data structure puzzles???
Explain the bubble sort algorithm.
Should a function contain a return statement if it does not return a value?
What is dynamic memory allocation?
What are the types of bitwise operator?
Not all reserved words are written in lowercase. TRUE or FALSE?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Is there anything like an ifdef for typedefs?
What are the header files used in c language?
Is malloc memset faster than calloc?
What is pre-emptive data structure and explain it with example?
What is define directive?
How can you increase the size of a dynamically allocated array?
What are the advantages of using new operator as compared to the function malloc ()?
write a program to display all prime numbers