summaryrefslogtreecommitdiff
path: root/strlen.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2026-06-09 09:56:08 +0100
committerIan C <ianc@noddybox.co.uk>2026-06-09 09:56:08 +0100
commit2c847f40d937c5956d9c7450b09d24ed557f434a (patch)
tree9d3ae264c8eb9bda7ae3cd035a7202db8b66f1ae /strlen.c
parenta051ccafe1f5956f18e9abd842624f85928cbe3d (diff)
Small formatting tweak to strlen
Diffstat (limited to 'strlen.c')
-rw-r--r--strlen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strlen.c b/strlen.c
index a7fead6..7659779 100644
--- a/strlen.c
+++ b/strlen.c
@@ -10,7 +10,7 @@ int main(int argc, char *argv[])
for(f = 1; argv[f]; f++)
{
len = strlen(argv[f]);
- printf("strlen(%s) = %d\n", argv[f], len);
+ printf("strlen(\"%s\") = %d\n", argv[f], len);
}
return EXIT_SUCCESS;