• Home
  • Contact us
  • C programs
  • submit program
  • Follow us on pinterest

Errorless C

This website is for c programming tutorials online.By this website you can learn c programming online.There are many c programming topics and Other programs for practice.There are also some projects created in c programming.

strlen() function

By: adarshsojitra on 17:30
Share it Please
Tweet
strlen() function is used to count the length of the string.

Exmaple:

#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
     char str[]="this is string";
     clrscr();
     printf("length of the string is %d",strlen(str));
     getch();

}
Email This BlogThis! Share to X Share to Facebook Share to Pinterest
Labels: C.strlen() function

C programming

  • First Program in C
  • About C programming
  • Compilers for C
  • Comments in C
  • Datatypes and variables
  • Rules to create Variables in C
  • Operators and Expressions
  • backslash characters
  • printf function
  • scanf function
  • getchar function
  • putchar function
  • gets function
  • puts function
  • Storage class specifiers
  • Constants in C
  • if else condition
  • Else if condition
  • Switch case
  • While loop
  • for loop
  • do while loop
  • break statement
  • Continue statement
  • goto statement
  • Arrays in C
  • Strings in C
  • User defined functions
  • Pointers in C
  • Structures in C
  • Recursion in C
  • File Handling in C
  • Preprocessors in C
  • Macros with arguments

Libraries in C

  • Math.h library
  • String.h library
  • ctype.h library
  • Limits.h library

Projects in C

  • 999999 HTML COLORS
  • Tower of hanoi
  • Volume and surface area
  • Library management system
  • Contacts management system
  • Real time calculator in C

Top

Designed By Templateism | Seo Blogger Templates
Powered by Blogger.