1 Crore+ students have signed up on EduRev. Have you? Download the App |
The______ function returns the number of characters that are present before the terminating null character.
What will the given C code do?
int memcmp(const void *str1, const void *str2, size_t n)
Which among the given options compares atmost n characters of string ch to string s?
void *memcpy(void *dest, const void *src, size_t n) What does the following code do?
Which of the following is the right syntax to copy n characters from the object pointed to by s2 into the object pointed to by s1?
Which of the following is the variable type defined in header string. h?
Which of the given function is used to return a pointer to the located character?
Which among the given options is the right explanation for the statement size_t strcspn(c, s)?
Which of the following function returns a pointer to the located string or a null pointer if string is not found.
Use_______to determine the null-terminated message string that corresponds to the error code errcode.
There are two groups of string functions defined in the header <string.h>. What are they?