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 |
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What is the size of enum in bytes?
Is c still used in 2019?
Write a program to find minimum between three no.s whithout using comparison operator.
Why main is not a keyword in c?
application attempts to perform an operation?
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }
what is the difference between const volatile int i & volatile const int j;
If null and 0 are equivalent as null pointer constants, which should I use?
Why is not a pointer null after calling free?
print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1
Why do we use main function?