how the size of an integer is decided?
- is it based on processor or compiler or OS?
Answer Posted / akshay
compiler
if compiler is 16 bit compiler then int is of 2 bytes (turbo c)
if compiler is 32 bit then int is of 4 bytes in VC++
but for 32 bit compiler processor should be compatible i.e. of 32 bytes
so processor also decides it
again of OS
if os is 16 bit how you r going to run a 32 bit compiler on it
so a confusing question
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
how do you execute a c program in unix.
What are different storage class specifiers in c?
What is the difference between a free-standing and a hosted environment?
What are the 4 types of unions?
What is a double c?
what are the different storage classes in c?
explain what are actual arguments?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is build process in c?
How can you invoke another program from within a C program?
When a c file is executed there are many files that are automatically opened what are they files?
What is the use of typedef in c?
What is time complexity c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Write a program to identify if a given binary tree is balanced or not.