Computer Science, asked by Amandeepgader, 7 months ago

To use string library function include header file string.h in your program

Answers

Answered by prince2220karan34
0

Explanation:

This header file contains all kind of string related function for string manipulation. Some of the functions are : strlen(), strcpy(), strupr(), strlwr(), strrev(), strcmp(), strcmpi(), strcat(), strncpy(), memset().

Answered by pavithranatarajan855
0

Answer:

#include<stdio.h>

#include<string.h>

int main()

{

   char str[ ] = "Modify This String To Upper";

   printf("%s\n",strupr(str));

   return  0;

}

//This program converts all characters of the string into uppercase.

Explanation:

string.h is need to inserted when we need to use string function like strrev,strupr,etc.

Similar questions