You are here

Page not found

Search results

  1. Selection sort in C

    Selection sort in C to sort numbers of an array in ascending order. With a little modification, ... || []).push({}); Selection sort program in C #include <stdio.h> int main ( ) {   int array [ 100 ] , n , c , d , position , t ;   printf ( "Enter number of ...

    devyog - 25/10/2020 - 14:26

  2. Print an int (integer) in C

    How to print an integer in C language? A user inputs an integer, and we print it. Input is done using ... and the number is printed on screen using printf. C program to print an int (integer) #include <stdio.h>   int ... Output of the program: C program to print first hundred positive integers [1, 100] using a for loop: ...

    devyog - 12/10/2020 - 22:40

  3. Remove vowels from a string in C

    C program to remove or delete vowels from a string. If the input is "C programming," then the output is "C prgrmmng." In the program, we create a new string and process input ...

    devyog - 11/10/2020 - 23:29

  4. C program to find HCF and LCM

    C program to find HCF and LCM: The code below finds the highest common factor ... || []).push({}); HCF of two numbers in C #include <stdio.h> int main ( ) {   int a ... HCF and LCM program. Output of program: C program to find hcf and lcm using recursion #include <stdio.h> ...

    devyog - 10/12/2019 - 20:50

  5. C program for pattern matching

    Pattern matching in C: C program to check if a string is present in an another string, for example, the string "programming" is present in the string "C programming". If it's present, then its location (i.e. at which position it's ...

    devyog - 01/12/2019 - 08:56

  6. C program to find the frequency of characters in a string

    C program to find the frequency of characters in a string: This program counts ... For example, in the string "code" each of the characters 'c,' 'd,' 'e,' and 'o' has occurred one time. Only lower case alphabets ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> #include <string.h> int ...

    devyog - 23/11/2019 - 11:40

  7. Function overloading in C++

    ... known as compile-time polymorphism. Function overloading C++ program #include <iostream> using namespace std ; ... ( ) {   int a, b, x ;   float c, d, y ;   cout << "Enter two integers \n " ;   ...

    devyog - 31/10/2019 - 22:18

  8. C program to delete a file

    C program to delete a file whose name (with extension) a user will input. The ... the file, then it will be displayed by perror function. C file deletion program #include <stdio.h> int main ( ) ... overwritten on the storage medium by other data. C programming: C programs ...

    devyog - 23/11/2019 - 11:40

  9. C program to add, subtract, multiply and divide Complex Numbers, complex arithmetic

    C program to add, subtract, multiply and divide complex numbers. It is a menu ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> #include <stdlib.h> struct ... x , y , z ;   struct complex a , b , c ;   while ( 1 )   {     printf ( ...

    devyog - 23/11/2019 - 11:40

  10. C program remove spaces, blanks from a string

    C program to remove spaces or excess blanks from a string, For example, consider the string "C programming" There are two spaces in this string, so our program will print the string "C programming." It will remove spaces when they occur more than one time ...

    devyog - 23/11/2019 - 11:40

Pages