Page not found
Search results
String length using strlen
C program to find string length using strlen function of "string.h" header ... length of a string. Declaration: int strlen(char*); C programming code for strlen #include <string.h> int main ( ) { ...
Yogesh Suneja - 07/01/2018 - 23:42
ellipse and fillellipse functions
... and fill it with current drawing color and pattern. C programming code for ellipse #include<graphics.h> main ( ) { ...
Yogesh Suneja - 11/01/2018 - 23:19
Palindrome in Java
Java program to check if a string is a palindrome or not, it's a palindrome if it remains the same on ... "dad" is a palindrome, as its reverse is "dad," whereas "program" isn't, as its reverse is "margorp" that is different from "program." ...
Yogesh Suneja - 12/10/2020 - 22:21
Java methods
... 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
C++ program to add two numbers
C++ program to add two numbers. C++ programming code #include <iostream> using namespace ...
Yogesh Suneja - 22/02/2018 - 13:39
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 ...
Yogesh Suneja - 11/10/2020 - 10:23
Print an int (integer) in C
How to print an integer in C language? A user inputs an integer, and we print it. Input is done using ... and the number is printed on screen using printf. C program to print an int (integer) #include <stdio.h> int ...
Yogesh Suneja - 12/10/2020 - 22:40
C++ program to reverse a string
C++ program to reverse a string that a user will input, for example, if the user enters "hello," then "olleh" will be printed as output. C++ program #include <iostream> #include <cstring> using ...
Yogesh Suneja - 23/11/2019 - 12:08
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 ...
Yogesh Suneja - 11/10/2020 - 19:06
C++ program to add two arrays
C++ program to add two arrays. C++ programming code #include<iostream> using namespace ...
Yogesh Suneja - 31/10/2019 - 20:16