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 |
Is printf a keyword?
Write a program of advanced Fibonacci series.
Write a c program to enter a string of paragraph and replacing a particular word which is repeated in the paragraph by another word?
2 Answers ME, Synfusion, Wipro,
we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?
program to find middle element of linklist?
What is an lvalue?
Explain how do you declare an array that will hold more than 64kb of data?
Does free set pointer to null?
how many keywords do C compile?
7 Answers Microsoft, Practical Viva Questions,
How does placing some code lines between the comment symbol help in debugging the code?
Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program
How can I return multiple values from a function?