String Refreshing

//Program to assign string and display the same

//specifiying the array string size

Assigning string character by character

//Read a string and display it

//It will not allow string

so we need gets(str)

with gets we can print line with space: Zaki Live

//simple printf

//using puts


Program to find length of a given string:

Using string related library function:

//string copy with out library function

//using strcpy library function

Concatenated String:

Using library function:



Spread the love