C Program to print ASCII values of all characters.

C Program to print ASCII values of all characters.ASCII value is the American Standard Code for Information Interchange.ASCII value is the numerical value, or order, of an character. There are 128 standard ASCII characters, numbered from 0 to 127. Extended ASCII adds another 128 values and goes to 255. The numbers are typically represented in …

C Program to find the strong number.

Write a C Program to find the given number is strong or not?A number is called strong number if sum of the factorial of its digit is equal to number itself. Example: 145 since 1! + 4! + 5! = 1 + 24 + 120 = 145. Read more about C Programming Language . /************************************************************ …

C Program to find the two sets Intersection and Union

Write a C Program to find the two sets Intersection and UnionA Set is a collection of well defined and distinct objects.Intersection of two sets A and B is defined as, all the elements of set A, which are also elements of set B.Union of two sets A and B is defined as, all the …

C Program to add one to digits of a number

Write C Program to add one to digits of a number. C Program that adds the 1 to each single digit of a number, i.e for Example 12345’s output is 23456. If the digit is 9 it adds 1 and follows the carry system, 9 becomes 0 and 9’s left digit adds one more 1. …

C Program to implement Priority Queue using structure.

Data structures using C,Write a C Program to implement Priority Queue using structure.Priority QUEUE is a abstract data type in which the objects are inserted with respect to certain priority. In this program, we created the simple ascending order priority queue using the structure, here items are inserted in ascending order. Structure is a c …

C Program implement Kruskal’s algorithm.

Write a C Program implement Kruskal’s algorithm.Kruskal’s algorithm is a greedy algorithm that finds the minimum spanning tree of a graph. Graph should be weighted, connected, and undirected.Minimum spanning tree is a spanning tree with weight less than or equal to the weight of every other spanning tree. Read more about C Programming Language . …

C Program to get the system information.

C Program to get the system information. We can use the ‘uname’ function to get the system information, which is defined in the “sys/utsname.h” library.Structure is used to hold information returned by the uname function.“uname” function members and their use:sysname returns the name of the operating system in use.release returns the current release level of …

C Program to reverse a Linked List.

Data structures using C,C Program to reverse a Linked List. Linked list is a data structure in which the objects are arranged in a linear order. Linked List contains group of nodes, in which each node contains two fields, one is data field and another one is the reference field which contains the address of …

C Program for Simple DSC order Priority QUEUE Implementation

Data structures using C,Priority QUEUE is a abstract data type in which the objects are inserted with respect to certain priority. In this program, we created the simple descending order priority queue, here items are inserted in descending order. Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* …

C Program for Simple ASC order Priority QUEUE Implementation

Data structures using C,Priority QUEUE is a abstract data type in which the objects are inserted with respect to certain priority. In this program, we created the simple ascending order priority queue, here items are inserted in ascending order. Read more about C Programming Language . /************************************************************ You can use all the programs on www.c-program-example.com* …