Site icon CusatXpress

Computer assignment – String Manipulation Program With And Without Library Function

Que: Write A Menu driven C String Manipulation Program With And Without Library Function ??

#include // Library Function which can be used for the String Mnpltn

#include

#include

void main()

{

int ch;

clrscr();

printf("MAIN MENU"); // Main Menu

printf(" nn1. String Manipulation With Library Functionnn2. String Manipulation Without Library Functionnn Enter the Choice : ");

scanf("%d",&ch;);

if(ch==1)

{

char a[20]; //With Library Function

int i;

clrscr();

gets(a);

i=0;

while(a[i]!=’