Program to design list in c, C/C++ Programming

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();

}

Posted Date: 10/19/2012 2:54:29 AM | Location : United States







Related Discussions:- Program to design list in c, Assignment Help, Ask Question on Program to design list in c, Get Answer, Expert's Help, Program to design list in c Discussions

Write discussion on Program to design list in c
Your posts are moderated
Related Questions
For this program you will add and test 2 new member functions to the IntSLList class posted on the website. The two member functions are: insertByPosn(int el, int pos) Assuming t

Build a program that calculates a discount for items based on quantity bought each item is $99.99 Ask user to enter the quantity of the items Get the quantity of items from the u

Tell what the derived class inherits or doesn't inherit? A: Inherits: - All data member defined in the parent class (even though such members might not always be accessible



Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

# include stdio.h> # include conio.h> # include string.h> void main()   {           int i=0,j=0;           char a[100],temp;           clrscr();

A: Multiple providers of libraries might employ common global identifiers causing a name collision whereas an application attempt to link with two or more such libraries. The names

(c) A static member function can access static member data only, static member functions and functions and data outside the class. A static member function may be called, even whil

Write a program to calculate the average of ten numbers       #include stdio.h     /* Only this header is needed since only IO are used */     void main()     {          char