Abundant Code

  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • F#
  • JavaScript
  • ASP.NET
  • C
  • Java
  • SQL Server
  • Assembly Lang
Home ยป c lab programs

C Program to Find Transpose of a Matrix

October 18, 2020 by Annie Sanjana Leave a Comment

This post explains to find tanspose of a matrix using the C programming language.

C Program to Find Transpose of a Matrix

Run Code Snippet
#include <stdio.h>
int main()
{
  int row,col,i,j,A[10][10],B[10][10];
  printf("\n Enter the number of rows and columns 
…

Filed Under: C Tagged With: c lab programs, C program

C Program to Add Two Matrices Using Multi-dimensional Arrays

October 18, 2020 by Annie Sanjana Leave a Comment

This post helps add two matrices using multi-dimensional arrays in the C programming language.

C Program to Add Two Matrices Using Multi-dimensional Arrays

Run Code Snippet
#include <stdio.h>
int main()
{
    int A[10][10],B[10][10],C[10][10],i,j,row,col;
    printf("\n Enter row and column: ");
    scanf("%d 
…

Filed Under: C Tagged With: c lab programs, C program

C Program to Multiply Two Matrices Using Multi-dimensional Arrays

October 18, 2020 by Annie Sanjana Leave a Comment

This post multiplies two matrices using multi-dimensional arrays in the C programming language.

C Program to Multiply Two Matrices Using Multi-dimensional Arrays

Run Code Snippet
#include <stdio.h>
int main()
{
    int m, n, p, q, i, j, k, sum = 
…

Filed Under: C Tagged With: c lab programs, C program

C Program to search a number in an array

October 16, 2020 by Annie Sanjana 2 Comments

This post helps to search a number in an array using the C programming language.

C Program to search a number in an array

Run Code Snippet
#include<stdio.h>
#define MAX_SIZE 100
int main()
{
    int arr[MAX_SIZE];
    int size,i,search,found;
    printf("\n Enter 
…

Filed Under: C Tagged With: c lab programs, C program

C Program to Calculate Standard Deviation

October 16, 2020 by Annie Sanjana Leave a Comment

This post helps calculate the standard deviation using the C programming language.

C Program to Calculate Standard Deviation

Run Code Snippet
#include<stdio.h>
#include<math.h>
float CSD(float data[])
{
    float sum=0.0, mean, SD=0.0;
    int i;
    for(i=0;i<5;i++)
    {
        sum+=data[i];
        mean=sum/5;
    }
    for(i=0;i<5;i++)
    SD+=pow(data[i]-mean,2);
    
…

Filed Under: C Tagged With: c lab programs, C program

C Program to delete an element from an array

October 16, 2020 by Annie Sanjana Leave a Comment

This post explains the deletion of an element from an array using the C programming language.

C Program to delete an element from an array

Run Code Snippet
#include <stdio.h>
#define MAX_SIZE 100

int main()
{
    int arr[MAX_SIZE];
    int i, 
…

Filed Under: C Tagged With: c lab programs, C program

C Program to Find Largest Element in an Array

October 8, 2020 by Annie Sanjana Leave a Comment

This post helps to find largest element in an array using the C programming language.

C Program to Find Largest Element in an Array

Run Code Snippet
#include <stdio.h>
int main() 
{
   int array[10] = {1, 2, 3, 4, 5, 
…

Filed Under: C Tagged With: c lab programs, C program

C Program to find the size of the array

October 6, 2020 by Annie Sanjana 1 Comment

This post helps to find the size of the array using the C programming language.

C Program to find the size of the array

Run Code Snippet
#include <stdio.h>
int main() 
{
    int array[5]= { 1, 2, 3, 4, 5 
…

Filed Under: C Tagged With: c lab programs, C program

C Program to insert an element into an array

October 5, 2020 by Annie Sanjana Leave a Comment

This post helps to insert an element into an array using the C programming language.

C Program to insert an element into an array

Run Code Snippet
#include <stdio.h> 
  
int main() 
{ 
    int arr[100] = { 0 }; 
    int i, 
…

Filed Under: C Tagged With: c lab programs, C program

C program to Reverse a String Using Recursion

October 5, 2020 by Annie Sanjana Leave a Comment

This post helps to reverse a string using recursion by the use of C programming language.

C program to Reverse a String Using Recursion

Run Code Snippet
#include <stdio.h>
#include <string.h>
void reverse(char[],int,int);
int main()
{
    char str1[20];
    int size;
    
…

Filed Under: C Tagged With: c lab programs, C program

  • 1
  • 2
  • Next Page »
RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table

Categories

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML

Blog Stats

  • 8,747,449 hits

Archives

Top Posts & Pages

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • C Program to display half-pyramid using alphabets
  • How to open display settings from command line in Windows 10 ?
  • How to Calculate MD5 checksum for a file in C# ?
  • How to Extract number from a string using C# ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • System Software - SIC/XE Program to divide BETA by GAMMA and set quotient and remainder
  • How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ?

Categories

  • Android
  • Angular 2
  • ASP.NET
  • Assembly Language
  • C
  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • Excel
  • F#
  • HTML
  • Interview Questions
  • Java
  • JavaScript
  • jQuery
  • Microsoft Office
  • MySQL
  • NETWORK
  • News
  • PHP
  • popular
  • PowerShell
  • Python
  • Ruby
  • SharePoint
  • SQL Server
  • SQL Server
  • Unix
  • VB.NET
  • Visual Studio
  • WebAPI
  • Windows
  • Windows Azure
  • Windows Forms
  • XAML

Top Posts & Pages

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • C Program to display half-pyramid using alphabets
  • How to open display settings from command line in Windows 10 ?
  • How to Calculate MD5 checksum for a file in C# ?
  • How to Extract number from a string using C# ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • System Software - SIC/XE Program to divide BETA by GAMMA and set quotient and remainder
  • How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ?

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval
  • Python Program to Check Prime Number
  • Python Program to Find the Largest Value Among Three Numbers
  • Python Program to Check If a Given Year is Leap Year

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML