what is the size of an integer variable?

Answer Posted / piyush

It depends on the compiler we are working on.
if it is 32 bit compiler:(GCC)
integer is 4 bytes
for 18 bit compiler:(Turboc)
integer is 2 bytes

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is huge pointer in c?

804


Can we assign integer value to char in c?

868


What is c language used for?

748


how to execute a program using if else condition and the output should enter number and the number is odd only...

1976


What is a structure member in c?

783


Is calloc better than malloc?

812


Is return a keyword in c?

863


How can I read data from data files with particular formats?

854


What is #include in c?

820


How can I do serial ("comm") port I/O?

957


What is s in c?

853


What does 1f stand for?

885


Explain how do you determine the length of a string value that was stored in a variable?

943


What is the size of enum in c?

872


What are the different types of C instructions?

1036