C Program to Perform Addition, Subtraction and Trace of 2 Matrices

This C program calculates the addition or subtraction & trace of 2 matrices. Problem Description This is a C program which calculates the addition or subtraction & trace of 2 matrices. Here trace of the matrix is the sum of the elements on the main diagonal i.e the diagonal from the upper left to the … Read more

advertisement

C Program to Find Power of a Number

This is a C Program to find out the power of any number using loop. Problem Description We have to create a C Program which calculates the power of any number, by taking the values of base and exponent from the user. Expected Input and Output 1. When base and exponent both are positive If … Read more

advertisement

C Program to Convert Time from 12 Hour to 24 Hour Format

This is a C Program to convert 12-hour AM-PM time format to 24-hour Military time format. Problem Description Given a time in 12-hour AM/PM format, convert it to military (24-hour) time. User has to take input as a string containing a time in 12-hour clock format (i.e.: hh:mm:ssAM or hh:mm:ssPM), where 01 ≤ hh ≤12 … Read more

advertisement

C Programming Internship

Pre-requisite / Skillset for C Programming Internship 1. Intern must know how to develop simple applications in C using basic constructs. 2. Capable of designing and implementing applications using arrays and strings. 3. Intern must be able to develop and implement applications in C using functions and pointers. 4. Must be capable of developing applications … Read more

advertisement

C Programming Books

The C programming language is a compiled & procedural language, which means that people can write their programs as a series of step-by-step instructions. The reason most experienced C Programmers recommend reading books for learning the C programming language is because the books contain in-depth and authentic knowledge. We have compiled the list of C … Read more

advertisement

C Program to Implement Adjacency Matrix

This is a C Program to implement Adjacency Matrix. Adjacency Matrix is a 2D array of size V x V where V is the number of vertices in a graph. Let the 2D array be adj[][], a slot adj[i][j] = 1 indicates that there is an edge from vertex i to vertex j. Adjacency matrix … Read more

advertisement

C Program to Implement Variable Length Array

This is a C Program to implement variable length array(Vectors). An array (vector) is a common-place data type, used to hold and describe a collection of elements. These elements can be fetched at runtime by one or more indices (identifying keys). A distinguishing feature of an array compared to a list is that they allow … Read more

advertisement

C Program to Implement Bit Array

This is a C Program to implement Bit Array. A bit array is an array data structure that compactly stores bits. It can be used to implement a simple set data structure. A bit array is effective at exploiting bit-level parallelism in hardware to perform operations quickly. A typical bit array stores bt bits, where … Read more

advertisement

C Program to Find Basis and Dimension of a Matrix

This is a C Program to find the basis and dimension of the given matrix. Here is source code of the C Program to Find Basis and Dimension of a Matrix. The C program is successfully compiled and run on a Linux system. The program output is also shown below. #include<stdio.h> int main() {  int a[3][3], … Read more

advertisement

C Program to Represent Linear Equations in Matrix Form

This is a C Program to represent a set of linear equations in matrix form. This is c program to convert the system of linear equations to matrix form. The input is the coefficient of each variable and constant. Program rearranges them and converts them into matrix form, which aids solving them. Here is source … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & technical discussions at Telegram SanfoundryClasses.