diff options
author | Pushkar Sharma <thepsguy@icloud.com> | 2015-10-05 00:32:34 +0530 |
---|---|---|
committer | Pushkar Sharma <thepsguy@icloud.com> | 2015-10-05 00:32:34 +0530 |
commit | 3b246fd869564b0a7f7c847f44aecac82d318c78 (patch) | |
tree | e7021a735460ced59d65c9bb3a55be78b4f5aac4 /c++.html.markdown | |
parent | 87e8e77e5fd8d84a252dbb6d6697202118378774 (diff) |
Grammar
the address
Diffstat (limited to 'c++.html.markdown')
-rw-r--r-- | c++.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++.html.markdown b/c++.html.markdown index bd86e9e5..8ee964ca 100644 --- a/c++.html.markdown +++ b/c++.html.markdown @@ -245,9 +245,9 @@ cout << fooRef; // Prints "I am foo. Hi!" // Doesn't reassign "fooRef". This is the same as "foo = bar", and // foo == "I am bar" // after this line. -cout << &fooRef << endl; //Prints address of foo +cout << &fooRef << endl; //Prints the address of foo fooRef = bar; -cout << &fooRef << endl; //Still prints address of foo +cout << &fooRef << endl; //Still prints the address of foo cout << fooRef; // Prints "I am bar" //The address of fooRef remains the same, i.e. it is still referring to foo. |