how the size of an integer is decided?
- is it based on processor or compiler or OS?

Answer Posted / rahul

definitely os bcoz.c compiler occupies 2 bytes in windows
where as the same c compiler occupies 4 bytes in linux.

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a way to switch on strings?

708


How do I send escape sequences to control a terminal or other device?

702


What is #include cctype?

668


What is the advantage of a random access file?

738


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

716






Why do we use int main?

713


What is atoi and atof in c?

709


Write a code on reverse string and its complexity.

685


What are runtime error?

728


Do array subscripts always start with zero?

880


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1767


Are there constructors in c?

696


Describe the header file and its usage in c programming?

708


What does s c mean on snapchat?

682


Write a program to reverse a string.

729