What do you want to save?
Add Code snippet
New code examples
-
C 2022-02-01 10:15:03
how to print the elements of a linked list in c
typedef struct node{ int value; //this is the value the node stores struct node *next; //this is the node the current node points to. this is how the nodes link }node; void printList(node *head){ node *tmp = head; while(tmp != NULL){ ... Add solution -
TypeScript 2022-01-31 20:22:02
write a progam to take the hour munite and second components of two times of a day and find out their difference (assume the latest time is given first)
#include <stdio.h> struct TIME { int seconds; int minutes; int hours; }; void differenceBetweenTimePeriod(struct TIME t1, struct TIME t2, struct TIME *diff); int main() { ... Add solution
Best helpers
Huggy Buggy
+5
Joyo
+5
ImMathan
+5
Anugram
+5
Vy32
+5
Daniel Cook
+5
SOUMEN
+5
Florian Huit
+5
Csandreas1
+5
B_archer
+5
Horse
+5
Shahruz Raad
+5
Mick Daw
+5
Czlsws
+5