b2_3_7.cxx

We use cookies. Read the Privacy and Cookie Policy

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) ‹‹ " ";

}