[Solved] How is a string declared as a parameter to a function in c?

In C, a string is a sequence of character values including a zero-valued terminator – the string “hello” is represented as the sequence {‘h’, ‘e’, ‘l’,’l’, ‘o’, 0}. Strings (including string literals) are stored in arrays of character type: char str[] = “hello”; Except when it is the operand of the sizeof or unary & … Read more