You are here

Page not found

Search results

  1. Reverse array in C

    C program to reverse an array using an additional array , using swapping ... || []).push({}); Reverse array C program #include <stdio.h> int main ( ) {   int n , c , d , a [ 100 ] , b [ 100 ] ;   printf ...

    devyog - 27/11/2019 - 20:55

  2. Binary search in C

    Binary search in C language to find an element in a sorted array. If the array isn't sorted, ... || []).push({}); Binary search program in C #include <stdio.h> int main ( ) {   int c , first , last , middle , n , search , array [ 100 ] ...

    devyog - 14/10/2020 - 19:11

  3. String length in C

    C program to find length of a string, for example, the length of the string "C programming" is 13 (space character is counted). The null character isn't ... it. To find it, we can use strlen function of "string.h." C program to find length of a string without using strlen function , ...

    devyog - 22/10/2020 - 21:08

  4. C program to find the largest number in an array

    C program to find the largest number in an array using a function and ... = window.adsbygoogle || []).push({}); C program to find largest number in an array #include <stdio.h> ... {   int array [ 100 ] , size , c , location = 0 ;   printf ( "Enter the number of ...

    devyog - 11/10/2020 - 11:19

  5. Prime number program in C

    Prime number program in C language to check whether a number is prime or composite , to print ... || []).push({}); Prime number in C language #include <stdio.h> int main ( ) {   int n , i = 3 , count , c ;   printf ( "Enter the number of prime numbers to print \n ...

    devyog - 01/10/2020 - 23:20

  6. C program to change case of a string

    ... || []).push({}); Function strlwr in C #include <stdio.h> #include <string.h> int main ( ...   return   0 ; } Function strupr in C #include <stdio.h> #include <string.h> int main ( ...

    devyog - 01/12/2019 - 08:56

  7. getch in C

    Function getch in C program prompts a user to press a character. It doesn't show up on the ... header file. The function is not a part of standard C library. C programming code for getch #include <stdio.h> #include ...

    devyog - 14/12/2019 - 21:35

  8. C program to swap two numbers

    C program to swap two numbers with and without using third variable , using ... 4 and b = 5, after swapping them, a = 5, b = 4. In the first C program, we use a temporary variable to swap two numbers. ... || []).push({}); Swapping of two numbers in C #include <stdio.h> int main ( ) {   int ...

    devyog - 19/11/2019 - 09:06

  9. C program to reverse a string

    C program to reverse a string that a user inputs. If the string is "hello" then, the output is "olleh." C program to reverse a string using strrev , without using strrev , ... || []).push({}); Reverse a string in C using strrev #include <stdio.h> #include <string.h> ...

    devyog - 14/10/2020 - 19:35

  10. Floyd's triangle in C

    C program to print Floyd's triangle: a user inputs how many rows of the ... = window.adsbygoogle || []).push({}); C program to print Floyd's triangle #include <stdio.h> int main ( ) {   int n , i ,  c , a = 1 ;   printf ( "Enter the number of rows of ...

    devyog - 11/10/2020 - 14:31

Pages