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
Conditional compilation in C programming language
Conditional compilation in C programming language: Conditional compilation as the name implies that the ... the following code to quickly understand the scenario: C program #include <stdio.h> #define x 10 int ... 0 ; } Conditional compilation example in C language #include <stdio.h> int main ( ) { ...
devyog - 23/11/2019 - 11:40
C sound program
... sound of a specified frequency. Used for adding music to a C program, try to use some random values in loop, vary delay and enjoy. Declaration: void sound(unsigned frequency); C programming code for sound (Turbo C compiler only) #include <dos.h> ...
devyog - 28/09/2018 - 10:51
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 to generate Fibonacci series
C++ program for Fibonacci series. C++ programming code #include<iostream> using namespace std ; main ( ) { int n, c, first = 0 , second = 1 , next ; cout << ...
devyog - 28/12/2017 - 15:18
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