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
L is a text and can be composed of any of the characters {, }, (, ) , and P, where P will represent the instruction. L will contain single spaced characters where each character

I''m having trouble with my C code to red from a Hash table. Not sure what it is I''m doing wrong and stumped. I need to get it figured out by tomorrow at 4:00 p.m. Eastern time. C

input marks of c and c++ if c grater than equal to 50 grater than 50 you are pass if c greater than equal to 50 c++ less than 50 than supplementry c++ if c less then 50 and c++ gra

You are working for a computer gaming company and have been asked to look at a survival game.  You will be simulating a rabbit stranded on an island, collecting a large number of s

my program does not run more than 9 iterations when ever i want to iterate more than 100 iterations. what is the reason and how to tackle?

Inline function: It is a function without prototype. The function is defined above main. The function should  be  declared  above  main  function.                  Declaring

Requirements: 1.  This assignment as well as other assignments in this class must be finished on Windows operating system. 2.  Zip your program and submit the zip file on ANG

What is Structure? An Array is a data structure whose elements are all of the similar data type. The structure is a data structure whose individual elements are able to differ

Problem: (a) Using a class hierarchy of your own choosing, with at least TWO subclass levels, show (i) the use of abstract and concrete forms of Java class and method in you

Project Description: Not just like that though. I want a similar program that can scan through poker lobbys (pokerstars, full tilt, ongame and ipoker) and seat me to the left of