Q. What is the meaning of the following C statement? scanf("%[^\n]s", ch); (Solved)

1. read all character except new line

2. read all characters

3. read only new line character

4. syntax error

  • a. read all character except new line
Subscribe Now

Get All Updates & News