Showing posts with label Cplusplus Programs. Show all posts
Showing posts with label Cplusplus Programs. Show all posts
Thursday, 26 May 2016
Pointers In C++
What Is Pointer....???
Pointer In C++ means That To Point out Location
Of any Variable
And Its Written *ptr(ptr Is variable Which You Want To find The Location
int xyz=786; This Is Variable
int *p=&xyz; This Is Pointer Which Is Equal To The Location Of Variable
int **p1=&p; This Also a Pointer Which Shows The Variable Which Is Placed On "p".....
Click Read More For Code :-
Pointer In C++ means That To Point out Location
Of any Variable
And Its Written *ptr(ptr Is variable Which You Want To find The Location
int xyz=786; This Is Variable
int *p=&xyz; This Is Pointer Which Is Equal To The Location Of Variable
int **p1=&p; This Also a Pointer Which Shows The Variable Which Is Placed On "p".....
Click Read More For Code :-
Wednesday, 25 May 2016
Check Given Number Is Palindrome Or Not
Check Given Number Is Palindrome Or Not
Palindrome Number Means
If We write a Number
For Example : 121
This Is Palindrome Because
If We Reverse It Their Is No Change In It
Output :
CodeIs Given Blow
Click On Read More
Get Max Number In 5 Numbers Given By User (Greater Number)
Get Max Number In 5 Numbers Given By User (Greater Number)
if(n[i]>max)
max=n[i];
Code Is Give Blow
Click On Read More
Hello World - Writing, Compiling and Running a C++ Program
When you write a program you use a development environment. Your development environment can be a basic text editor or a feature rich C++ integrated development environment (IDE). You should not use a word processor like Microsoft Word, because it adds formatting codes to the text.
"<iostream>" Is a Library.......
"cout" means Console Output.....
Code.......
"<iostream>" Is a Library.......
"cout" means Console Output.....
Code.......
Subscribe to:
Posts (Atom)