| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [C] (Thanks)An interesting question |
> 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 .
Ints are whole numbers between 0 and MAXINT in value. Chars are whole
numbers in the range 0 to MAXCHAR (often 255 for unsigned and 127 for
signed char). Both ints and char can be signed or unsigned.
Integer arithmetic can be performed on both types.
I hope this answers your question.
Best Wishes,
Bill.
---
* Origin: Escan BBS (2:25/200)SEEN-BY: 633/267 270 @PATH: 25/200 108 252/110 250/501 140/1 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™.