You are here

Page not found

Search results

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

  2. C program to print a string

    C program to print a string using various functions such as printf, puts. Consider the following code: printf ( "Hi there! How are you doing?" ) ; ...     char z [ 100 ] = "I am learning C programming language." ;     printf ( "%s" , z ) ; ...

    Yogesh Suneja - 14/10/2020 - 21:18

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

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

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

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

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

  8. Bubble sort in C

    Bubble sort in C to arrange numbers in ascending order; you can modify it for descending order ... || []).push({}); Bubble sort program in C /* Bubble sort code */ #include <stdio.h> int main ( ) {   ...

    Yogesh Suneja - 14/10/2020 - 21:14

  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. C program to print diamond pattern

    The diamond pattern in C language: This code prints a diamond pattern of stars. The diamond shape is as follows: ... || []).push({}); Diamond pattern program in C #include <stdio.h> int main ( ) {   int ...

    Yogesh Suneja - 26/11/2019 - 22:50

Pages