engineering recuitment UPSSSC JE Civil 2024 Mock Test Programming and Data Structure Programming in C
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