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

How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

0 Answers  


How are pointers declared in c?

0 Answers  


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

0 Answers  


What is the use of parallelize in spark?

0 Answers  


Explain what are compound statements?

0 Answers  






can i know the source code for reversing a linked list with out using a temporary variable?

6 Answers   Honeywell,


how to determine the complexity of an algorithm as log(n)

1 Answers   Google,


Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

0 Answers  


why we use pointer in c

7 Answers   HCL, TCS,


what is void pointer?

2 Answers  


Write a code of a general series where the next element is the sum of last k terms.

0 Answers   Aspiring Minds,


Write a program to print “hello world” without using semicolon?

0 Answers  


Categories