Bihar STET Computer Science – Programming Concepts Set 3

Questions 1-5 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 1

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 18.09.2023 (Shift-I) PYQ

In C, which string function in <string.h> compares two null-terminated strings up to a maximum of 'n' characters?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

In C, what is the return value of 'strlen("Hello\0World")'?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 2019 (Shift-II) PYQ

Which C function in <string.h> appends a copy of the source string to the end of the destination string?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

In C, which function searches for the FIRST occurrence of a character in a string?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark
Previous Year Question Bihar STET C.S. 18.09.2023 (Shift-I) PYQ

Which C library function tokenizes a string into a series of tokens separated by delimiter characters?

Answers for question 5
Scroll to Top