What will the below syntax do in C programming language?

scanf (“%6s”, str1);

1
Read a string of maximum 6 characters from the beginning
2
Read a string of maximum 6 characters from the ending
3
Read a string after deleting the first 6 characters
4
Read a string after deleting the last 6 characters

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation