The ones who are crazy enough to think they can change the world are the ones who do.
- Steve Jobs

C String Functions Questions and Answers

51. Define strcpy in C?

strcpy() is one of the inbuilt string function in c programming which is used to copy one string to another string. Refer For More C Strcpy

52. Define strncpy?

strncpy() is one of the inbuilt string function in c programming which is used to replace a string with another string of required length. Refer For More C Strncpy

53. Define strlen?

strlen() is one of the inbuilt string function in c programming which is used to find the length of the given string. Refer For More C Strlen

54. Define strstr?

strstr() is one of the inbuilt string function in c programming which is used to return the first occurrence of the substring str2 in a string str1. Refer For More C Strstr

55. Define strpbrk?

strpbrk() is one of the inbuilt string function in c programming which is used to return a string str1 from a character that matches any character specified in a string str2. Refer For More C Strpbrk

Report Us

We may make mistakes(spelling, program bug, typing mistake and etc.), So we have this container to collect mistakes. We highly respect your findings.

Report