Terminology and Representations of Graphs

This post covers basic definition in terminologies associated with graphs and covers Adjacency list and adjacency matrix graph representations of the graph.   What is a Graph? A graph is an ordered pair G = (V, E) comprising a set V of vertices or nodes and a collection of pairs of vertices from V called edges of …

Write a C Program without main function

Write a C or C++ program without using main function. We are allowed to change the entry point of the program from main() to any other function or remove the main() function altogether.   1. Using GCC _start function   As per C/C++ standard, main() is the starting point of any program in a hosted …