long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
Answer Posted / rohit
yes, i too agree it is compiler dependent. But, can anyone
explain, why it is compiler dependent?
If it is a 16 bit compiler, then the size of int is 2
bytes. If it is a 32 bit compiler, then the size of int is
4 bytes. Is there is any reason behind this? It will be
helpful if anyone clarifies this?
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What type of function is main ()?
Is it acceptable to declare/define a variable in a c header?
Explain what is the advantage of a random access file?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What is hashing in c?
difference between native and cross compilers
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
how to write a c program to print list of fruits in alpabetical order?
Explain 'bus error'?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
How can I open a file so that other programs can update it at the same time?
What is a pointer in c plus plus?
What is the right type to use for boolean values in c? Is there a standard type?
Is this program statement valid? INT = 10.50;
write a c program to calculate sum of digits till it reduces to a single digit using recursion