Home > Back-end >  How do you use the char array as function arguments
How do you use the char array as function arguments

Time:04-30

Want to ask next can do with two array parameter, why the length to unsigned

CodePudding user response:

Q: what can you do with two array parameter?
A: yes,

Q: why the length use unsigned?
A: unsigned than signed said large range, and the length of the negative usually doesn't make sense,

CodePudding user response:

Q1: want to ask next can do parameter with two arrays.
A1: yes,
Q2: why there are unsigned length to
A2: because there can be no the length of the array is negative,

CodePudding user response:

Complete C and C + + tutorial: https://blog.csdn.net/it_xiangqiang/category_10581430.html
C and C + + algorithm complete tutorial: https://blog.csdn.net/it_xiangqiang/category_10768339.html

CodePudding user response:

Thank you
  • Related