current position:Home>C understanding of a simple code

C understanding of a simple code

2022-01-26 21:38:49 CSDN Q & A

img


Excuse me... In parentheses -‘\0’ What does that mean? , Yes to \0 The meaning of the end




Refer to the answer 1:

First , You're not C# ah ,C# It's a strong type of language , Don't allow int The type and char Type to do operations directly
secondly ,\0 Of ascii Code is 0, One number minus 0 If you don't reduce , It doesn't make sense at all




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201262138480340.html

Random recommended