You are here

Page not found

Search results

  1. C program to print date

    C program to print current system date. To print date, we will use getdate function. C programming code (Works in Turbo C only) #include <stdio.h> #include <conio.h> #include ...

    Yogesh Suneja - 13/03/2018 - 12:40

  2. Sum of n natural numbers in C

    C program to find the sum of n natural numbers using the formula and a for ... Sum of first n natural numbers = n*(n+1)/2. C program to find sum of n natural numbers #include <stdio.h> ... } Output: Sum of n natural numbers in C using a for loop #include <stdio.h> int main ( ) ...

    Yogesh Suneja - 04/11/2020 - 14:18

  3. Matrix addition in C

    Matrix addition in C language to add two matrices, i.e., compute their sum and print it. A user ... || []).push({}); Addition of two matrix in C C program for matrix addition: #include <stdio.h>   int ...

    Yogesh Suneja - 13/12/2019 - 20:30

  4. C++ inline function program

    ... writing the keyword inline before defining the function. C++ programming code #include <iostream> using namespace ... ) ; int main ( ) {   char c ;       cout << "Enter a character \n " ;   ...

    Yogesh Suneja - 20/03/2018 - 11:16

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

Pages