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 |
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
How are pointers declared in c?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What is the use of parallelize in spark?
Explain what are compound statements?
can i know the source code for reversing a linked list with out using a temporary variable?
how to determine the complexity of an algorithm as log(n)
Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer
why we use pointer in c
what is void pointer?
Write a code of a general series where the next element is the sum of last k terms.
Write a program to print “hello world” without using semicolon?