Page not found
Search results
Symmetric matrix in C
C program to check if a matrix is symmetric or not: we find the transpose of ... original matrix. For a symmetric matrix A, A T = A. C program to check if a matrix is symmetric or not #include<stdio.h> ... int main ( ) { int m , n , c , d , matrix [ 10 ] [ 10 ] , transpose [ 10 ...
Yogesh Suneja - 03/12/2019 - 22:19
C++ hello world program
Hi! Are you searching for how to write a C++ hello world program? I hope I will be able to help you with that. Hello world C++ program #include <iostream> // Declaration of header using ...
Yogesh Suneja - 31/10/2019 - 20:47
C++ program to add two arrays
C++ program to add two arrays. C++ programming code #include<iostream> using namespace ... [ 20 ] , second [ 20 ] , sum [ 20 ] , c, n ; cout << "Enter the number of elements in the ...
Yogesh Suneja - 31/10/2019 - 20:16
Delay function in C
Delay in C: delay function is used to suspend execution of a program for a particular ... the "dos.h" header file which is not a part of standard C library. (adsbygoogle = window.adsbygoogle || []).push({}); Delay in C program If you don't wish to use delay function then you can use loops to ...
Yogesh Suneja - 29/09/2018 - 13:46
Insertion sort in C
Insertion sort in C: C program for insertion sort to sort numbers. This code implements insertion ... Insertion sort algorithm implementation in C /* Insertion sort ascending order */ #include <stdio.h> ...
Yogesh Suneja - 12/11/2019 - 14:29
C program to insert an element in an array
C program to insert an element in an array, for example, consider an array ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> int main ( ) { int array [ 100 ] , position , c , n , value ; printf ( "Enter number of elements in ...
Yogesh Suneja - 23/11/2019 - 11:40
C program to delete duplicate elements from an array
C program to delete duplicate elements from an array. For example, if an array ... element we get the following array: 1, 6, 2, 9. C program #include <stdio.h> int main ( ) { ... ] , b [ 100 ] , count = 0 , c , d ; printf ( "Enter number of elements in array \n " ...
Yogesh Suneja - 23/11/2019 - 11:40
C program to find nCr and nPr
C program to find nCr and nPr, remember, nCr = n!/(r!*(n-r)!) and nPr = n!/(n-r)!. C program to find nPr and nCr using a function #include <stdio.h> ... long factorial ( int n ) { int c ; long result = 1 ; for ( c = ...
Yogesh Suneja - 22/11/2019 - 19:42
textcolor in C
... textcolor is used to change the color of drawing text in C programs Turbo C compiler only . Declaration: void textcolor(int color); where color ...
Yogesh Suneja - 03/10/2018 - 17:42
C program to implement stack data structure
Stack program in C: C program to implement stack using array. C program #include <stdio.h> #include <stdlib.h> int ...
Yogesh Suneja - 23/11/2019 - 11:40