how the size of an integer is decided?
- is it based on processor or compiler or OS?
Answer Posted / prashant
It depend upon What kind of machine you have (16 or 32 bit)?
If you are using 16 bit machine then int requires 2 bytes of
memory and if you are using 32 bit machine then int requires
4 bytes of memory...
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What oops means?
When a c file is executed there are many files that are automatically opened what are they files?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is the difference between Printf(..) and sprint(...) ?
What type is sizeof?
can any one tel me wt is the question pattern for NIC exam
Are the variables argc and argv are local to main?
How to get string length of given string in c?
What is assert and when would I use it?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is 'bus error'?
What are the data types present in c?
Explain what is wrong with this program statement? Void = 10;
What are the 4 data types?
List some basic data types in c?