Write a function to remove all trailing blanks from the right end of a string. Assume the prototype is
void trimRight(char a[]);
Write a function to remove all leading blanks from the left end of a string. Assume the prototype is
void trimLeft(char a[]);
Write a function to add extra blanks to the right end of a string to make it at least length n. If the string is already n characters or longer, do not change the string. Assume the prototype is
void padRight(char a[], int n);
ajanah.ibrahim 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.