4ever Programming Solutions
All about programming and blogging.
Thursday, June 5, 2014
C++ Program to print heart shape using pointer
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
char x=3;
char *a;
a=&x;
cout<<"\I\t"<<*a<<"\tProgramming";
getch();
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment