You are here

Page not found

Search results

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

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

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

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

  5. C program to get IP address

    C program to print IP (Internet Protocol) address of your computer, system ... prints IP address, subnet mask, and default gateway. The code given below works for Windows XP and Windows 7. If you are using Turbo C compiler then execute this program from the folder, it may not work when you ...

    Yogesh Suneja - 23/11/2019 - 11:40

  6. C program to find maximum element in a matrix

    C program to find the largest or the maximum element in a matrix. C program #include <stdio.h> int main ( ) {   int m , n , c , d , matrix [ 100 ] [ 100 ] , maximum ;   ...

    Yogesh Suneja - 03/12/2019 - 22:15

  7. C program to reverse words in a string

    C program to reverse words in a string or sentence, for example, if the input string is "c++ programming language" then the output will be "++c gnimmargorp egaugnal" i.e. we will invert each word occurring in the input ...

    Yogesh Suneja - 23/11/2019 - 11:40

  8. C program to check subsequence

    C program to check Subsequence; don't confuse it with substring. In our ... is of smaller or equal length than the second string. C subsequence program #include <stdio.h> #include <string.h> ... [ ] , char b [ ] ) {   int c , d ;   c = d = 0 ;   while ( a [ c ...

    Yogesh Suneja - 25/10/2020 - 14:07

  9. Matrix multiplication in C

    Matrix multiplication in C language to calculate the product of two matrices (two-dimensional arrays). A ... || []).push({}); Matrix multiplication in C language #include <stdio.h>   int main ( ) {   int m , n , p , q , c , d , k , sum = 0 ;   int first [ 10 ] [ ...

    Yogesh Suneja - 12/12/2019 - 00:47

  10. C program to add two complex numbers

    C program to add two complex numbers: this program performs addition of two ... to store a complex number. Complex numbers program in C language #include <stdio.h> struct complex {     ... ( ) {     struct complex a , b , c ;     printf ( "Enter a and b where a + ib is the first ...

    Yogesh Suneja - 23/11/2019 - 11:40

Pages