C – Functions – Strings

 

String Length

FAQ

  • Find the given string length without using strlng()
  • Find the given sting length using while/for loop

 

Code : Using for loop

 

Code : Using while loop and pointer

 

 


String Concatenate (Joint)

FAQ

  • Joint two different/same string without using strcat() function?
  • Joint two strings using pointers
  • concatenate two string into one string using pointer in while loop

Code : Using pointer in while loop.

 

Code : Using pointer in for loop.

 



 

 


 

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

if you have any queries call us +918300026060 or WhatsApp Dismiss

0

Your Cart

%d bloggers like this: