b2_3_7.cxx
b2_3_7.cxx
#include ‹stream.hxx›
main()
{
char cv[10];
int iv[10];
char* pc = cv;
int* pi = iv;
cout ‹‹ "char* " ‹‹ long(pc+1)-long(pc) ‹‹ " ";
cout ‹‹ "int* " ‹‹ long(pi+1)-long(pi) ‹‹ " ";
}
b2_3_7.cxx
#include ‹stream.hxx›
main()
{
char cv[10];
int iv[10];
char* pc = cv;
int* pi = iv;
cout ‹‹ "char* " ‹‹ long(pc+1)-long(pc) ‹‹ " ";
cout ‹‹ "int* " ‹‹ long(pi+1)-long(pi) ‹‹ " ";
}