Which of the following is NOT declared in string.h ?
a) strlen()
b) strcpy()
c) strptr()
d) strupr()
Answers
Answer:
in string.h
file handling function
strptr()
Answer:
The Correct Answer would be c) strptr(). The function strptr() is not declared in the header string.h
Explanation:
String.h is the header withinside the C standard library for the C programming language which includes macro definitions, constants and declarations of functions and types used now no longer handiest for string coping with however additionally numerous memory coping with functions; the name is consequently some thing of a misnomer.
Functions declared in string.h are extraordinarily popular, given that as part of the C standard library, they're assured to work on any platform which supports C. However, a few security troubles exist with those capabilities, along with buffer overflows, main programmers to choose safer, probable much less transportable variants. Also, the string functions handiest work with characters encodings made of bytes, along with ASCII and UTF-8. In ancient documentation the term "character" was regularly used as an alternative of "byte", which if observed actually could imply that multi-byte encodings along with UTF-8 have been now no longer supported.
To know about C++ program : https://brainly.in/question/12153387
To know about main() function : https://brainly.in/question/11394682