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
what is a variable

C program to print fibonacci series: int fibo(long int); void main() {                 long int a=0,n;                 printf ("how many terms\n");


2 flowcharts, pseudocode for each (at least 4 algorithms), and code for either a stack or a queuestion..

A skilled programmer is required to build a standalone module to extract, parse and store in database tables, word count data from web pages and RSS feeds. The module can take R

how to write c++ code for financial system using class and object

Program of Binary tree: Btree::Btree(int O) : itemsInContainer(0) {     finishInit(O); }   Btree::~Btree(void) {     if( root != 0 )         delete roo

count the number of string in n-th padovan string

Define some features of register storage class in c program? The feature of variable defined to be of register type all as follows: Storage - CPU registers Default initia

C program to count the words: void CountWords();          void main()          {             printf("\n\tcount the words and enter string\n\n\n");             Count