Skip to content

Daily Archives: August 9, 2018

  1. Home>
  2. 2018>
  3. August>
  4. 9

CPP Program For Armstrong Number

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

The sum of the cube of individual digits of a number is equal to the number itself is called Armstrong number. #include<iostream.h> #include<conio.h> void main() { clrscr(); int a,n,rev=0,x; cout…

Continue ReadingCPP Program For Armstrong Number

CPP Program For Palindrome Number

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

A Palindrome number is that type of number when we reverse the number it remains the same.  eg: 12321 A user is asked to enter a number then we will reverse…

Continue ReadingCPP Program For Palindrome Number

Diagonal Matrix Program In CPP

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

A simple program to find out the diagonal matrix. A diagonal matrix is that type of matrix which has non-zero elements in the diagonal only. #include<iostream.h> #include<conio.h> void main() {…

Continue ReadingDiagonal Matrix Program In CPP

sizeof operator in CPP

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

sizeof is a keyword. It determines the size in bytes of variables and datatypes as seen in the example. #include<iostream.h> #include<conio.h> void main() { clrscr(); cout << sizeof(int) << endl;…

Continue Readingsizeof operator in CPP

CPP Program To Find The Length Of The String

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

A simple Program to find the length of the string without using the predefined string function. This will not count the null character. #include<iostream.h> #include<conio.h> void main() { clrscr(); int…

Continue ReadingCPP Program To Find The Length Of The String

String Functions In CPP

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

1. strlen() - This function returns the length of the string as seen in the output. This function does not return the null character(if there is space between strings it…

Continue ReadingString Functions In CPP

Do-While Loop In CPP

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

Do while loop condition fails: one output  when we use do while loop it gives us an advantage that even the condition fails it gives at least one initial output…

Continue ReadingDo-While Loop In CPP

Destructor In CPP

  • Post author:admin
  • Post published:August 9, 2018
  • Post category:CPP Programms
  • Post comments:0 Comments

Destructor: Destructor is a member function of a class. It has the same name as a class but followed by a tilde sign (~).  It does not have any return…

Continue ReadingDestructor In CPP

Recent Posts

  • Hello world!
  • How to publish the first blog post | Get Indexed | Google
  • 8 Ways to make money through blogging|Passive Income
  • Build a strong blogging brand | Best tips for blogging
  • Add Facebook page plugin to the blog

Recent Comments

  1. A WordPress Commenter on Hello world!
Copyright [oceanwp_date] - Design by Unique Ratlam Ajanta Talkies Road

WhatsApp us