Page not found
Search results
Decimal to binary in C
Decimal to binary in C to convert an integer from decimal number system (base-10) to binary number ... = window.adsbygoogle || []).push({}); C program to convert decimal to binary #include <stdio.h> int ...
Yogesh Suneja - 10/10/2020 - 15:27
Linked list in C
... struct node * next ; } ; Linked list program in C #include <stdio.h> #include <stdlib.h> struct node ...
Yogesh Suneja - 08/12/2019 - 00:36
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. ...
Yogesh Suneja - 28/09/2018 - 10:51
C++ constructor example
C++ constructor example program: Constructor are functions having name as that of the class. They do ... have return type and are used to initialize objects. C++ constructor program example #include <iostream> using ...
Yogesh Suneja - 06/02/2018 - 13:57
String concatenation in C
C program to concatenate two strings; for example, if the two input strings are "C programming" and " language" (note the space before language), then the ...
Yogesh Suneja - 04/10/2020 - 11:26
sqrt in C
Function sqrt in C returns the square root of a number. To use it, include the "math.h" header file in the program. Declaration: double sqrt(double); Square root in C using sqrt function #include <stdio.h> #include <math.h> ...
Yogesh Suneja - 04/11/2020 - 13:23
Symmetric matrix in C
C program to check if a matrix is symmetric or not: we find the transpose of the ... original matrix. For a symmetric matrix A, A T = A. C program to check if a matrix is symmetric or not #include<stdio.h> ...
Yogesh Suneja - 03/12/2019 - 22:19
Palindrome in Java
Java program to check if a string is a palindrome or not, it's a palindrome if it ... "dad" is a palindrome, as its reverse is "dad," whereas "program" isn't, as its reverse is "margorp" that is different from "program." Some palindrome strings examples are: "j", "mom", "madam", ...
Yogesh Suneja - 12/10/2020 - 22:21
Sum of n natural numbers in C
C program to find the sum of n natural numbers using the formula and a for ... Sum of first n natural numbers = n*(n+1)/2. C program to find sum of n natural numbers #include <stdio.h> ...
Yogesh Suneja - 04/11/2020 - 14:18
C program to find roots of a quadratic equation
C program to find roots of a quadratic equation: Coefficients are assumed to be ... may not be real. For a quadratic equation ax 2 + bx + c = 0 (a≠0), discriminant (b 2 -4ac) decides the nature of roots. If it's ...
Yogesh Suneja - 04/11/2020 - 14:12