Menu

saurabhnissa Archive

C Program to Check Palindrome number in C

C Program to Check Palindrome Palindrome:- An integer is a palindrome number if the reverse of that number is equal to the original number. That is called a palindrome number. C Program to Check Palindrome number Palindrome number in c #include <stdio.h> int main() { int n, reversedN = 0, remainder, originalN; printf(“Enter an integer:

Example of Inheritance program in c++ with explanation

Inheritance program in c++ A simple example of the Inheritance program in c++ with output. And a full explanation of every statement. Example of inheritance program #include <iostream> using namespace std; class BaseClass { int i; public: void setInt(int n); int getInt(); }; class DerivedClass : public BaseClass { int j; public: void setJ(int n);

2d transformation in computer graphics program in C and C++ Animation

2d transformation in computer graphics program in c 2d transformation in computer graphics program in C and C++ animation program using initgraph(); function Graphics program Graphics program in c #include<stdio.h> #include<graphics.h> #include<conio.h> int main() { int gd=DETECT,gm; int i,j; initgraph (&gd, &gm, ” “); for ( i=200;i<400;i=i+25) { for( j=200; j<400; j=j+25) { circle(i, j,100);
Learn For Free.