BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

C strlen() Function – C tutorial

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The function strlen() returns the length (number of characters) of the given string. Function strlen() Declaration size_t strlen(const char *str) str – This is the… [Read More]

Tags: C-Library, C-String

C strcspn() Function – C tutorial

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strcspn() function scans the main string for the given string and returns the number of characters in the main string from beginning till the… [Read More]

Tags: C-Library, C-String

C strstr() Function – C tutorial

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strstr() function searches the given string in the specified main string and returns the pointer to the first occurrence of the given string. C… [Read More]

Tags: C-Library, C-String

C strspn() Function

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The function strspn() searches specified string in the given string and returns the number of the characters that are matched in the given string. C… [Read More]

Tags: C-Library, C-String

C strrchr() Function – C tutorial

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strrchr() function searches the last occurrence of the specified character in the given string. This function works quite opposite to the function strchr() which… [Read More]

Tags: C-Library, C-String

C strncpy() Function – C tutorial

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strncpy() function is similar to the strcpy() function, except that it copies only the specified number of characters from source string to destination string…. [Read More]

Tags: C-Library, C-String

C strcpy() Function – C tutorial

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strcpy() function copies one string to another string. C strcpy() function declaration char *strcpy(char *str1, const char *str2) str1 – This is the destination… [Read More]

Tags: C-Library, C-String

C strcoll() Function – C tutorial

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strcoll() function is similar to strcmp() function, it compares two strings and returns an integer number based on the result of comparison. C strcoll()… [Read More]

Tags: C-Library, C-String

C strncmp() Function with example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

In the last tutorial we discussed strcmp() function which is used for comparing two strings. In this guide, we will discuss strncmp() function which is… [Read More]

Tags: C-Library, C-String

C strcmp() Function with example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strcmp() function compares two strings and returns an integer value based on the result. C strcmp() function declaration int strcmp(const char *str1, const char… [Read More]

Tags: C-Library, C-String

C strchr() Function with example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The function strchr() searches the occurrence of a specified character in the given string and returns the pointer to it. C strchr() Function char *strchr(const… [Read More]

Tags: C-Library, C-String

C strncat() Function with example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

In the last tutorial we discussed strcat() function, which is used for concatenation of one string to another string. In this guide, we will see… [Read More]

Tags: C-Library, C-String

C strcat() Function with example

Last Updated: September 11, 2022 by Chaitanya Singh | Filed Under: c-programming

The strcat() function is used for string concatenation. It concatenates the specified string at the end of the another specified string. In this tutorial, we… [Read More]

Tags: C-Library, C-String

C Programming Tutorial

  • C Tutorial
  • History of C
  • Features of C
  • Turbo C++ installation
  • First C Program
  • printf scanf
  • Variables in C
  • Data Types in C
  • C - Keywords
  • C Identifiers
  • C Comments
  • Operator precedence
  • C - if statement
  • C - if..else
  • C - for loop
  • C - while loop
  • C - do while loop
  • C - continue
  • C - break statement
  • C - switch..case
  • C - goto statement
  • C - Arrays
  • 2 D array
  • C - String
  • C - functions
  • Function call by reference
  • Function call by value
  • Array to function
  • C - Structures
  • C - Pointers
  • Pointer to Pointer
  • Pointers to functions
  • C - function pointers
  • Pointer & Array
  • C - File I/O
  • C Programming Examples

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap