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?
Answer Posted / 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 View All Answers
Explain high-order and low-order bytes.
How to define structures? ·
Where we use clrscr in c?
Is that possible to store 32768 in an int data type variable?
string reverse using recursion
What is c variable?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What Is The Difference Between Null And Void Pointer?
How do we open a binary file in Read/Write mode in C?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
Why does this code crash?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What does %d do?
Why can’t we compare structures?
How can I recover the file name given an open stream or file descriptor?