Author name: Amlendra

I am an embedded c software engineer and a corporate trainer, currently, I am working as senior software engineer in a largest Software consulting company . I have working experience of different microcontrollers (stm32, LPC, PIC AVR and 8051), drivers (USB and virtual com-port), POS device (VeriFone) and payment gateway (global and first data).

How to use strstr in C

The strstr function returns a pointer to the first occurrence of string s2 in string s1. The function returns the null pointer if the string is not found. The process of matching does not include the terminating null-characters(‘\0’). Syntax of strstr in C:   char *strstr(const char *s1, const char *s2); Parameters: s1 − This […]

How to use strstr in C Read More »