codeGK
Code it ALL
String Declaration in C ? - CodeGK

♦ String Declaration in C ?

♣ Example1: String Declaration in C ?

A string can be declared by using character array.
Declaration of String allocates memory beforehand to initialization.
In this example, there is a declaration of character array of size 8.
Example
Input:
Output: