User Tools

Site Tools


c:string.h:strlen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:string.h:strlen [2013/01/22 22:02]
127.0.0.1 external edit
c:string.h:strlen [2024/02/16 01:06] (current)
Line 13: Line 13:
 { {
  
-char ss[40] = "hello world"; +  char ss[20] = "hello world"; 
-int length = strlen(ss); +  int length = strlen(ss); 
-int i = 0+  int i; 
-   printf ("strlen is %i\n", length); +   
-     +  printf ("strlen is %i\n", length); 
-    for ( i = 0; i < length ; ++ i ) { +   
-       printf ("iam at char count %i\n", i); +  for ( i = 0; i < length ; ++ i ) 
-     } +    printf ("iam at char count %i\n", i); 
-  +   
-return 0;    +  return 0;    
 } }
 </code> </code>

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/string.h/strlen.txt · Last modified: 2024/02/16 01:06 (external edit)

Impressum Datenschutz