Q.No.1

Which of the following is NOT a string manipulation function in C?

Q.No.2

How is a string read from standard input in C using fgets?

Q.No.3

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

Q.No.4

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

Q.No.5

How do you read a string from standard input in C using scanf?

Q.No.6

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

Q.No.7

What is the maximum length of a string in C?

Q.No.8

What is the correct way to declare a character array in C that can hold a string of up to 20 characters?

Q.No.9

What function is used to check if a character is a digit in C?

Q.No.10

How do you initialize a string literal 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