| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [C] (Thanks)An interesting question |
Bill Birrell wrote in a message to prabir senapati: > arithmetic on the elements of this array. How is this > possible, after all elements in the array are > characters not integers ? Can u pls explain me a bit . BB> Ints are whole numbers between 0 and MAXINT in value. Chars are BB> whole numbers in the range 0 to MAXCHAR (often 255 for unsigned and BB> 127 for signed char). Both ints and char can be signed or unsigned. BB> Integer arithmetic can be performed on both types. I still think there's something odd about the concept of a "signed char", and I particularly think it's odd that it's in some cases the default... ---* Origin: TANSTAAFL BBS 717-838-8539 (1:270/615) SEEN-BY: 633/267 270 @PATH: 270/615 150/220 3613/1275 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.