+ 5
Because all pchar, pint and pdouble are pointers, the sizeof returns size of pointer rather than the size of the type of variable pointed to by the pointer. Hth, cmiiw
7th Jan 2019, 5:48 AM
Ipang