Go Down

Topic: 595 patterns (Read 3973 times) previous topic - next topic


However, when I pass an array to a function THEN use sizeof(), it returns 2.

In that case, you are getting the size of a pointer to a byte array.


Thanks for confirming my suspicion. I appreciate your feedback.

I seem to learn best by trial and error, also known as fumbling around !

I am a disabled veteran. One thing I have a lot of is time.

Programming helps take my mind off of negative things.
In the Land of Oz . . .
  Just South of the
    Yellow Brick Road !

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131