You are here

Page not found

Search results

  1. Hello world program in C

    How to write a hello world program in C language? To learn a programming language, you must start writing programs in it, and this could be your first C program. Let's have a look at the program first. #include <stdio.h> ...

    Yogesh Suneja - 01/10/2020 - 22:47

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

    Yogesh Suneja - 14/10/2020 - 19:11

  3. Even or odd program in C

    C programs to check odd or even using different methods. In the decimal number ... || []).push({}); Odd or even program in C using modulus operator #include <stdio.h> int main ( ) ... = window.adsbygoogle || []).push({}); C program to find odd or even using bitwise operator #include ...

    Yogesh Suneja - 11/10/2020 - 10:23

  4. Sum of digits in C

    Sum of digits C program to calculate the sum of digits of a number, we use modulus operator ... []).push({}); Sum of digits of a number in C #include <stdio.h> int main ( ) {     int ... = sum + remainder so sum = 8 now. 98/10 = 9 because in C language, whenever we divide an integer by another one, we get an integer. ...

    Yogesh Suneja - 11/10/2020 - 19:06

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

    Yogesh Suneja - 22/10/2020 - 21:08

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

    Yogesh Suneja - 11/10/2020 - 11:19

  7. C program to check whether a character is vowel or consonant

    C program to check whether a character is a vowel or consonant: A user inputs a ... = window.adsbygoogle || []).push({}); C program to check vowel or consonant using if else In this program, we ... "Input a character \n " ) ;   scanf ( "%c" , & ch ) ;   if ( ( ch >= 'a' && ch ...

    Yogesh Suneja - 11/10/2020 - 20:05

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

    Yogesh Suneja - 01/10/2020 - 23:20

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

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

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

    Yogesh Suneja - 14/12/2019 - 21:35

Pages