The function ______ is used in C to print a string to the standard output.
- print()
- puts()
- display()
- writeString()
The correct option is b) puts(). This function is used to print a string to the standard output, followed by a newline character.
Loading...
Related Quiz
- How can double pointers be used in dynamic memory allocation in C?
- The function ________ is used to copy one string to another in C.
- A ________ search works by repeatedly dividing the portion of the array that could contain the item until you've narrowed down the possible locations to just one.
- What function can be used to find the current position of the file pointer in a file?
- You are developing a contact management system where each contact can have multiple addresses (home, work, etc.). How can you efficiently represent this information using structures?