Page not found
Search results
C program to add two complex numbers
C program to add two complex numbers: this program performs addition of two ... to store a complex number. Complex numbers program in C language #include <stdio.h> struct complex { ... ( ) { struct complex a , b , c ; printf ( "Enter a and b where a + ib is the first ...
devyog - 23/11/2019 - 11:40
Linked list in C
... * next ; } ; Linked list program in C #include <stdio.h> #include <stdlib.h> struct node ... will help you to learn the tree data structure. C programming: C programs ...
devyog - 08/12/2019 - 00:36
C program to check subsequence
C program to check Subsequence; don't confuse it with substring. In our ... is of smaller or equal length than the second string. C subsequence program #include <stdio.h> #include <string.h> ... [ ] , char b [ ] ) { int c , d ; c = d = 0 ; while ( a [ c ...
devyog - 25/10/2020 - 14:07
C++ program to reverse a number
C++ program to reverse a number using a class. It can be used to check if an integer is a palindrome or not. C++ program to reverse a number #include <iostream> using ... std ; class Operations { long c ; public : void inputNumber ( ) { ...
devyog - 22/11/2019 - 22:04
C++ program for prime numbers
C++ program to print first n prime numbers. C++ program #include <iostream> #include <cmath> using ... int n, status = 1 , num = 3 , count, c ; cout << "Enter the number of prime numbers to print ...
devyog - 22/11/2019 - 22:07
Anagram program in C
Anagram program in C to check whether two strings are anagrams or not. They are assumed to contain ... and "CAB" are anagrams, as every character, 'A,' 'B,' and 'C' occur the same number of times (one time here) in both the strings. A ... = window.adsbygoogle || []).push({}); C anagram program #include <stdio.h> int check_anagram ( ...
devyog - 09/10/2020 - 23:32
Transpose of a matrix in C
Transpose of a matrix in C language: This C program prints transpose of a matrix. To obtain it, we interchange rows and ... = window.adsbygoogle || []).push({}); C program to find transpose of a matrix #include <stdio.h> ...
devyog - 13/12/2019 - 20:54
C program to merge two arrays
C program to merge two arrays into another array. They are assumed to be sorted ... = window.adsbygoogle || []).push({}); C program to merge two sorted arrays // It is assumed a user will ... [ 100 ] , b [ 100 ] , m , n , c , sorted [ 200 ] ; printf ( "Input number of ...
devyog - 19/11/2019 - 20:02
Palindrome number in C
... If both are the same, it's a palindrome otherwise not. C palindrome string program . (adsbygoogle = window.adsbygoogle || []).push({}); C program for palindrome number #include <stdio.h> int main ...
devyog - 09/10/2020 - 23:18
C program to find maximum and minimum number in an array
C program to find the maximum and minimum number in an array. A user will input ... find the largest and the smallest number in the array. C program #include <stdio.h> int main ( ) { int a [ 100 ] , size , c , l , L ; printf ( "Enter the number of elements in ...
devyog - 24/11/2019 - 00:12