Why data types in all programming languages have some range?
Why ritche have disigned first time likethat?Why not a
single data type can support all other types?
Answers were Sorted based on User's Feedback
good morning ,
ya ur doubt is absolutely correct.... in the real time operation a human being can easily process and seperate the numbers and character s etc etc categories since we have got our own intelligence .... but when we come to computers they dont have... so we are the users , we make instructions to make it understand it.... if we make the computer to understand like us , there will be no difference between that and a human being... upto certain level only we can make computers to understand........ using intelligence we are differenciating things...... but in computers it will be very complex to it understand... like this we can keep on arguing with lots of points..........
thank u
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / nitin
Different data types and ranges require different amounts
of memory.
To optimize memory use and processing speed, practical
limits are set.
Ultimately everything has to be processed in binary, so
more complex characters require translation which takes
additional time, processing capacity, and memory.
Small differences when multiplied by billions of processes
have an impact.
| Is This Answer Correct ? | 0 Yes | 0 No |
Compare and contrast compilers from interpreters.
what is difference between strcmp & palindrome?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
can you explain in brief what is "r+" mode in a file... i know that it si used to read and modify rhe existing content.... but explalanation about the file pointer in "r+" mode i wann to know???????????
Describe the header file and its usage in c programming?
string reverse using recursion
In which category does main function belong??
Can we access the array using a pointer in c language?
Write the control statements in C language
What's a good way to check for "close enough" floating-point equality?
Every time i run a c-code in editor, getting some runtime error and editor is disposing, even after reinstalling the software what may be the problem?