Tag Archives: Calculate String Length Using C Pointers

Using Pointers Find String Length

Using Pointers Find String Length – Write a C Program to Find the length of the string using a pointer. C Program to Find the length of the string using a pointer Source Code Calculate Length of a String – C Pointers #include <stdio.h> int main() { char string1[50]; char *ptr; int length=0; printf(“\n\n Using… Read More »

Loading