You are here

Page not found

Search results

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

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

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

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

  6. C++ new operator example

    C++ new operator example: C++ code using "new" operator to allocate memory on heap dynamically. C++ programming code #include <iostream>   using ...

    Yogesh Suneja - 11/12/2019 - 11:11

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

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

  9. C++ program to add two complex numbers

    C++ program to add two complex numbers. C++ programming code #include <iostream> using namespace ... ; int main ( ) {    complex a, b, c ;     cout << "Enter a and b where a + ib is the first ...

    Yogesh Suneja - 13/07/2018 - 12:29

  10. Anagram program in C

    Anagram program in C to check whether two strings are anagrams or not. They are assumed to contain ... and "CAB" are anagrams, as every character, 'A,' 'B,' and 'C' occur the same number of times (one time here) in both the strings. A ... = window.adsbygoogle || []).push({}); C anagram program #include <stdio.h> int check_anagram ( ...

    Yogesh Suneja - 09/10/2020 - 23:32

Pages