The header file graphics.h contains
textheight() function which returns the height of input string in pixels.
Syntax :
int textheight(char *string);
Example :
Input : string = "Hello Geek ! Have a good day."
Output : 👁 Image
Below is the implementation of textheight() function.
Output :
👁 Image