You are here

Page not found

Search results

  1. 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 ... how many times in the string. For example, in the string "code" each of the characters 'c,' 'd,' 'e,' and 'o' has occurred one time. Only lower case alphabets ...

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

  2. Conditional compilation in C programming language

    Conditional compilation in C programming language: Conditional compilation as the name implies that the code is compiled if certain condition(s) hold true. Normally we use if keyword ... the following code to quickly understand the scenario: C program #include <stdio.h> #define x 10       int ...

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

  3. Decimal to binary in C

    Decimal to binary in C to convert an integer from decimal number system (base-10) to binary number ... = window.adsbygoogle || []).push({}); C program to convert decimal to binary #include <stdio.h> int ... Download Decimal binary program. This code only prints binary of an integer. Still, we may wish to perform operations ...

    Yogesh Suneja - 10/10/2020 - 15:27

  4. Fibonacci series in C

    Fibonacci series in C using a loop and recursion . You can print as many terms of the series as ... || []).push({}); Fibonacci series program in C #include <stdio.h> int main ( ) {   int ... , first = 0 , second = 1 , next , c ;   printf ( "Enter the number of terms \n " ) ; ...

    Yogesh Suneja - 25/10/2020 - 23:45

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

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

  6. C program to sort a string in alphabetic order

    C program to sort a string in alphabetic order: For example, if a user inputs a ... = window.adsbygoogle || []).push({}); C program #include <stdio.h> #include <stdlib.h> #include ... int no [ 26 ] = { 0 } , n , c , t , x ;   printf ( "Enter some text \n " ) ; ...

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

  7. putimage function in c

    ... at (left, top). ptr points to the area in memory where the source image is stored. The op argument specifies a operator that controls how ... based on pixel already on screen and the corresponding source pixel in memory. Smiling face animation program using putimage. ...

    Yogesh Suneja - 28/12/2017 - 21:34

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

    Yogesh Suneja - 12/10/2020 - 22:40

  9. Area of a triangle in C

    C program to find the area of a triangle using Heron's or Hero's formula. The ... The program assumes that a user will enter valid input. C program to find area of a triangle #include <stdio.h> #include ... int main ( ) {   double a , b , c , s , area ;   printf ( "Enter sides of a triangle \n ...

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

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

    Yogesh Suneja - 01/12/2019 - 08:56

Pages