C Programming Code Examples
C > Data Structures Code Examples
Linked List implementation
The C++ Brick Game Arcanoid with Mouse -
Initialize the graphics mode and. Displays the last screen of bricks. Changes the text style & report any error if encounter. Print "Welcome screen of bricks game". Instruction messages
C Code print all negative elements in array -
Write a C program to input elements in array and print all negative elements. Display all negative elements in array using loop in C. Displaying negative, positive, prime, even...
C Sort Structures on the basis of Structure -
Using cricket, declare an array player with 10 elements and write C program code read the information about all the 10 players and print a team wise list containing Names of Players
Largest Rectangular Area in a Histogram -
Get minimum of two numbers in hist[]. Get the 'middle index' from corner indexes. Get the index of minimum value in a given range of indexes. Then returns 'index' of minimum
Code Calculate Score Intersecting Ngrams -
C Get ngrams for first word. Get ngrams for second word. Compare two arrays, count duplicates. Calculate score. Clean up. Return array of ngrams. Padd word according to one
A Calculator by Switch Case and Functions -
Create menu driven Calculator that performs basic mathematic operations (Add, Subtract, Multiply, Divide) use switch case & functions. The calculator should input two numbers and
Checks if an Directed Graph is Tree or Not -
A C++ Program to check whether an directed graph is tree or not. Graph is tree if it doesn't contain cycles. Pointer to an array containing adjacency lists. Returns true if there is a cycle
C Data Structures Dynamic String Arrays -
Dynamic string arrays in C language. Print the array of strings. Free the string array, Note: You must delete each individual string before you delete the array of pointers...