Reload your browser or click the button below to continue.
Disable AdBlock Plus:
Click on the icon in yor browser toolbar.
Click the blue button next to "Block Ads On:"
Click the red "Refresh" button or click the button below to continue.
Disable Adguard AdBlocker:
Click on the icon in yor browser toolbar.
Click on the toggle next to "Protection on this website".
Reload your browser or click the button below to continue.
Disable uBlock Origin:
Click on the icon in yor browser toolbar.
Click on the big blue "power" icon.
Reload your browser or click the button below to continue.
Structures exercises in C Programming in C
Complex numbers: Write a program that defines a:
$\texttt{complex}$ type
function that calculates the module of a complex number
function that calculates the conjugate of a complex number
function that prints a complex number
function that calculates the sum of 2 com...
Date manipulation: Write a program that defines a:
date type
function that prints a date
function that creates and returns the date after one year
Write a main function to test your functions....
Raise for employee: Write a program that defines a(n):
employee type (number, age, year of recrutement, salary)
function that raises the salary of an employee by a certain percentage
Write a main function to test your functions....
Defining a person type using structures and pointers: Write a program that defines a(n):
person type (first name, last name, pointers to a father and a mother person)
function that displays the information of a person
Write a main function to test your functions....
Push delete print elements in a linked list: Write a program that defines a list of integers, then write functions to print, push head and delete head function. Test your functions using a main function....
Static implementation of a set - version 1: You are asked to give a static implementation of the ADT set having the following functions:
void toempty(SET *S)
int empty(SET S)
int find(int x, SET S)
void add(int x, SET *S)
void removeS(int x, SET *S)
void intersect(SET S1, SET S2, SET *R)
void ...
Static implementation of a set - version 2: You are asked to give a static implementation of the ADT set having the following functions:
void toempty(SET *S)
int empty(SET S)
int find(int x, SET S)
void add(int x, SET *S)
void removeS(int x, SET *S)
void intersect(SET S1, SET S2, SET *R)
void ...
Dynamic implementation of a set: You are asked to give a dynamic implementation of the ADT set having the following functions:
void toempty(SET *S)
int empty(SET S)
int find(int x, SET S)
void add(int x, SET *S)
void removeS(int x, SET *S)
void intersect(SET S1, SET S2, SET *R)
void...
Implementation of a set using an array of Boolean: You are asked to give an implementation of the ADT set using an array of Boolean and having the following functions:
void toempty(SET *S)
int empty(SET S)
int find(int x, SET S)
void add(int x, SET *S)
void removeS(int x, SET *S)
void intersect(SET ...
Path between two vertices: Write a program that checks whether a path exists between two vertices in a graph.
Implement the graph using an adjacency list and use DFS....
Connected graph: Write a program that checks whether a graph is connected.
Implement the graph using an adjacency list and use DFS....