Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Linked List
#include <stdio.h> #include <stdlib.h> struct s { int info; struct s *next; }; typedef struct s node; void insert(node **start,int info) { node *ptr; ptr=(node*)malloc(sizeof(node)); ptr->info=info; ptr->next=*start; *start=ptr; } void newlist(node **start) { *start=(node*)NULL; } void display(node *start) { while(start!=(node*)NULL) { printf("%d ",start->info); start=start->next; }} int main() { node *start; newlist(&start); insert(&start,10); insert(&start,20); display(start); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
CPTTRN_1
tickeParsing.c
sume of diagonal v.1
mod 4
C_141203_CTYPE
FUNTION 2
2.3 Comparision with Matrix Multiplication Execution Time
Check EOF Value
THIS one uwu
Ultimo avance de pregunta 1 guía4
Please log in to post a comment.