Re: Re: Defined string with 4 characters is sizeof 4 in watch and 5 in compiled code.
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.discuss |
|---|---|
| Message-ID | <F1B680C9B28547E99A1278EF952E094D@System7> |
Maybe the quick watch uses strlen() which would return 4. From: mailto:[email protected] Sent: Monday, July 14, 2014 5:39 PM To: [email protected] Subject: [msp430] Re: Defined string with 4 characters is sizeof 4 in watch and 5 in compiled code. Ok, so 4 chars and a null, but then why does the debugger in the quick watch window, report that it is 4?