Compare commits
No commits in common. "b1fe773f8ab6642cc4adc2cd4d6e113adac42f59" and "46cd2556bcf86ae16398d03bde94528df03624c8" have entirely different histories.
b1fe773f8a
...
46cd2556bc
BIN
tests/linkedlist
Executable file
BIN
tests/linkedlist
Executable file
Binary file not shown.
@ -1,25 +0,0 @@
|
|||||||
#include "stdio.h"
|
|
||||||
#include "stdlib.h"
|
|
||||||
|
|
||||||
struct person {
|
|
||||||
char name[20];
|
|
||||||
int age;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct student {
|
|
||||||
int id;
|
|
||||||
struct person info;
|
|
||||||
struct student *next;
|
|
||||||
};
|
|
||||||
|
|
||||||
void add_first();
|
|
||||||
void add_last();
|
|
||||||
void remove_first();
|
|
||||||
void remove_last();
|
|
||||||
void show();
|
|
||||||
void quite();
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
|
|
||||||
printf("Goodbye!");
|
|
||||||
}
|
|
BIN
tests/work1
Executable file
BIN
tests/work1
Executable file
Binary file not shown.
@ -1,28 +0,0 @@
|
|||||||
#include "stdio.h"
|
|
||||||
#include "stdlib.h"
|
|
||||||
|
|
||||||
struct person_tag {
|
|
||||||
char name[20];
|
|
||||||
char id[10];
|
|
||||||
};
|
|
||||||
|
|
||||||
struct course_tag {
|
|
||||||
char course_name[20];
|
|
||||||
int no_of_units;
|
|
||||||
int marks[4];
|
|
||||||
float avg;
|
|
||||||
};
|
|
||||||
|
|
||||||
void display_students(void);
|
|
||||||
void search_student(void);
|
|
||||||
void find_maximum(void);
|
|
||||||
void find_failed(void);
|
|
||||||
void update_file();
|
|
||||||
void read_file();
|
|
||||||
void quite();
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
printf("Welcome!");
|
|
||||||
|
|
||||||
printf("Goodbye!");
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user