The document contains a C program that calculates the length of the string 'Programming is fun'. It uses a loop to count characters until it reaches the null terminator. The output of the program is the length of the string, which is 18.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
33 views1 page
Lab 3
The document contains a C program that calculates the length of the string 'Programming is fun'. It uses a loop to count characters until it reaches the null terminator. The output of the program is the length of the string, which is 18.