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



Why data types in all programming languages have some range? Why ritche have disigned first time li..

Answer / vignesh1998i

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

Why data types in all programming languages have some range? Why ritche have disigned first time li..

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

Post New Answer

More C Interview Questions

What is the use of getch ()?

0 Answers  


How can you draw circles in C?

0 Answers   Accenture,


Explain high-order and low-order bytes.

0 Answers  


What is the difference between struct and typedef struct in c?

0 Answers  


Explain continue keyword in c

0 Answers  






What is unsigned int in c?

0 Answers  


WHAT IS ABSTRACT DATA TYPE

4 Answers   Wipro,


why we wont use '&' sing in aceesing the string using scanf

0 Answers   HCL,


the data type used for unlimited value in c and how to do this program

1 Answers  


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

0 Answers  


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

0 Answers  


Which is best linux os?

0 Answers  


Categories