TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: FRANK MASINGILL
date: 1997-08-04 22:25:00
subject: Ascertaining address of a char

        I suppose this is a stupid question since I can't find the
answer in a number of good teaching books I have.
        How does one get a program to get the ADDRESS of a char?  I
can do it readily with an int.  If I assign char x - 'A' thought and
do a cout << &x I get an A followed by one of the early chars.
        What am I missing here?
Sincerely, 
                                     Frank
                                                                              
                                                       
--- PPoint 2.03
---------------
* Origin: Maybe in 5,000 years - frankmas@juno.com (1:396/45.12)

SOURCE: echomail via exec-pc

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™.