You are here

Page not found

Search results

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

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

  2. Java methods

    Java methods tutorial: Java program consists of one or more classes, and a class may contain ... tutorial, we learn about Java methods (known as functions in C and C++ programming languages). A method has a name and return type. The main ...

    Yogesh Suneja - 04/12/2019 - 19:51

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

    Yogesh Suneja - 19/11/2019 - 09:06

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

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

  5. C program to print a string

    C program to print a string using various functions such as printf, puts. ...     char z [ 100 ] = "I am learning C programming language." ;     printf ( "%s" , z ) ; ... return 0 ; } Output: I am learning C programming language. (adsbygoogle = ...

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

  6. Bitwise operators in C

    Bitwise operators in C programming language: In this tutorial I am going to discuss bitwise operators with example C programs. As you know data is stored in memory in the form of bits and a bit ...

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

  7. Factorial program in C

    Factorial program in C using a for loop, using recursion and by creating a function . ... || []).push({}); Factorial in C using a for loop #include <stdio.h>   int main ( ) {   int c , n , f = 1 ;     printf ( "Enter a number to ...

    Yogesh Suneja - 11/10/2020 - 00:24

  8. Sum of n numbers in C

    Sum of n numbers in C: This program adds n numbers that a user inputs. The user enters a number ... = window.adsbygoogle || []).push({}); C program to find sum of n numbers using a for loop #include <stdio.h> ... ( ) {   int n , sum = 0 , c , value ;     printf ( "How many numbers you want to add? ...

    Yogesh Suneja - 10/12/2019 - 23:42

  9. String copy in C

    C program to copy a string using library function strcpy and without using strcpy . String copy C program #include <stdio.h> #include <string.h> int ... Output of program: Copy string in C without using strcpy #include <stdio.h> int main ( ) ...

    Yogesh Suneja - 18/11/2019 - 19:00

  10. 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 ... ) {   int array [ 100 ] , n , c , d , swap ;   printf ( "Enter number of elements \n ...

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

Pages