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
Do you know the difference between malloc() and calloc() function?
Which is better between malloc and calloc?
Does c have an equivalent to pascals with statement?
What is a pointer and how it is initialized?
What is a union?
cavium networks written test pattern ..
Write a program to print factorial of given number using recursion?
How can I make it pause before closing the program output window?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is difference between static and global variable in c?
Differentiate abs() function from fabs() function.
How can I split up a string into whitespace-separated fields?
What is the purpose of main() function?
What is extern storage class in c?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?