Subscribe For Free Updates!

We'll not spam mate! We promise.

Thursday 6 September 2012

Basics of pointers



Beginners must practice this program.


#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a=10;
int b=20;
int *ptra=&a;
int *ptrb=&b;
cout<<a<<endl;
cout<<&a;
cout<<ptra;
cout<<&ptra;
cout<<*ptra;
getch();
}

Socializer Widget By CodingLovers
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

1 comments:

  1. Great post indeed and thanks for all the information, it was very helpful i really like that you are providing information on PHP and MYSQL with basic JAVASCRIPT,being enrolled in

    http://www.wiziq.com/course/5871-php-mysql-with-basic-javascript-integrated-course
    i was looking for such information online to assist me on php and mysql and your information helped me a lot. Thanks.

    ReplyDelete