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 pragma c?

861


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

873


What are the types of type specifiers?

816


How can I run c program?

941


Is main is user defined function?

868


What is the scope of local variable in c?

799


in linking some of os executables are linking name some of them

1907


Why we use conio h in c?

903


Are local variables initialized to zero by default in c?

767


How can I call fortran?

821


What are the features of the c language?

861


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1678


how to count no of words,characters,lines in a paragraph.

4163


What is the scope of an external variable in c?

784


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

1951