C Multiple Choice String Operations Online Exam Quiz
C Multiple Choice String Operations GK Quiz. Question and Answers related to C Multiple Choice String Operations. MCQ (Multiple Choice Questions with answers about C Multiple Choice String Operations
What will strcmp() function do?
Options
A : compares the first n characters of the object
B : compares the string
C : undefined function
D : copies the string
What is the function of strcoll()?
Options
A : compares the string, result is dependent on the LC_COLLATE
B : copies the string, result is dependent on the LC_COLLATE
C : compares the string, result is not dependent on the LC_COLLATE
D : copies the string, result is not dependent on the LC_COLLATE
What is the prototype of strcoll() function?
Options
A : int strcoll(const char *s1,const char *s2)
B : int strcoll(const char *s1)
C : int strcoll(const *s1,const *s2)
D : int strcoll(const *s1)
Which among the following is Copying function?
Options
A : memcpy()
B : strcopy()
C : memcopy()
D : strxcpy()
Which of the following is the variable type defined in header string. h?
Options
A : sizet
B : size
C : size_t
D : size-t
The ______ function appends not more than n characters.
Options
A : strcat()
B : strcon()
C : strncat()
D : memcat()
Which function will you choose to join two words?
Options
A : strcpy()
B : strcat()
C : strncon()
D : memcon()
NULL is the macro defined in the header string. h.
Options
A : true
B : false
C :
D :
Chemical Engineering Basics - Part 1 more Online Exam Quiz
C Multiple Choice Mathematical Functions