"Shilpa" <sh***********@gmail.comwrites:
[...]
Hey u r rite in making me understand what a macro is used for.
[...]
Please don't use silly abbreviations like 'u' and 'r' here.
What I wanted to ask is how to display such a large value in the 16-bit
variables. I guess we have to use array of integers, but how to proceed
after that.
A 16-bit variable can only hold 65536 distinct values; if it's a
signed integer, it can't hold a value greater than 32767. But why do
you assume you can only use 16-bit variables? Even on a so-called
"16-bit" machine, C requires for at least 32-bit types (64-bit for
C99).
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.