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


Please Help Members By Posting Answers For Below Questions

What is d'n in c?

798


How can I automatically locate a programs configuration files in the same directory as the executable?

831


Is it acceptable to declare/define a variable in a c header?

848


How can I get the current date or time of day in a c program?

924


Describe the difference between = and == symbols in c programming?

998






Explain the red-black trees?

799


What is a const pointer?

779


what is the difference between 123 and 0123 in c?

919


What is the importance of c in your views?

787


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

816


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4960


write a program to print largest number of each row of a 2D array

2074


Does c have class?

810


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5681


What is a MAC Address?

800