program to design list in cwrite a program in c


Program to design list in c:

Write a program in c to insert the values in list

void main()

{

int i=0;

char a[20];

clrscr();

printf("Enter the line\n");

 

while((int)a[i]!=13)

{

scanf("%c",a[i]);printf("%c %d",a[i],i+1);

 

i++;

}

printf("%s",a);

getch();

}

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: program to design list in cwrite a program in c
Reference No:- TGS0174855

Expected delivery within 24 Hours