Q.No.1

What function is used to convert a string to all uppercase letters in C?

Q.No.2

How do you initialize a string literal in C?

Q.No.3

What is the function used to find the last character in a string in C?

Q.No.4

What is the correct format specifier to print a string in C using printf?

Q.No.5

How do you write a string to standard output in C using puts?

Q.No.6

Which function is used to find the first occurrence of a substring in a string in C?

Q.No.7

What function is used to convert a string to all lowercase letters in C?

Q.No.8

How do you check if two strings are equal in C using strcmp?

Q.No.9

What happens if you exceed the size of a character array in C when inputting a string using fgets?

Q.No.10

Which function is used to find the first occurrence of any character in a specified set in C?


About Simple Quiz

We're here to make learning fun and accessible. Whether you're a student, teacher, or just someone who loves quizzes, you can find something for you here. Test your knowledge across a wide range of subjects and see how much you know!


Get to know more

Quiz On

Explore string manipulation in C programming, including string handling functions, character arrays vs. string literals, and string input/output operations.

Category

Discover the foundational principles of C programming, ideal for beginners entering the world of coding.


C Programming

Sector

Test your knowledge on the fundamentals of creating software by writing and understanding code in various programming languages.


Programming


Start A Quiz

Do you want to start quiz mode? In this mode, you’ll answer against a timer. When the timer runs out, answers auto-submit, and you get feedback.

Start A Quiz

Do you want to start quiz mode? You'll answer against a timer. When the timer runs out, answers auto-submit