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

how to find anagram without using string functions using only loops in c programming

2709


How can I insert or delete a line (or record) in the middle of a file?

566


What is s in c?

601


Can you please explain the scope of static variables?

597


What does c mean in standard form?

592






i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

1832


What is a char c?

584


When we use void main and int main?

579


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3132


How can a number be converted to a string?

589


Can an array be an Ivalue?

657


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

2548


What are the difference between a free-standing and a hosted environment?

735


How can I determine whether a machines byte order is big-endian or little-endian?

612


What is variable in c example?

587