Welcome to pickSourcecode.com Login | Register    
pickZy.com
 Home  | search  | games  | General  | C  | C++  | Java  | Php  | Networking  | Visual Basic  | VC++  | Win32  | MFC  | JavaScript  | Jobs  | JavaScript  | Post jobs
Cpp - Pointers in C++       Share
2008-11-03 |  RatheeshTR  | Viewed: 1305  |    0

#include <iostream>
using namespace std;


int main()
{

    double * pi = new double; 


    
if(pi == NULL) exit(1);

    *pi = 3.14159;                 


    cout << "The value of pi = " << *pi << endl;


    delete pi;


    return 0;

}


Comments:





Submit comment's

Type:

User Comment's:

Submitted By:
Prof: Software
Tech: C ,Cpp
Send Mail: malathi.v



Related topics
Stack Implementation
cpp stack example

General Topics
race condtions and memory leak
performance testing
test design
unit, integration and system testing
testing techinical terms
software testing : test plan
tips to improve self-esteem
internet cache protocol

Web site contents © Copyright 2007, All rights reserved.
Help | Terms and Conditions | Privacy Policy | About Us