Hi all ,
How do I trim a char array? .
I have declared a char array for the the size=10 .
A dynamic string , which length will be veried from 0 to 10 is te assigned
with this char array.
If the dynamic string length less than 10 , then i need to trim the extra spaces from
the char array . How do i do that . I think , its very basic qustion in c , but iam new to
C world .
Help highly apprciated .