COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
Loading...
Searching...
No Matches
addressof.cpp
Go to the documentation of this file.
1
#include <iostream>
2
3
using namespace
std;
4
5
int
main
()
6
{
7
int
i;
8
char
c;
9
10
cout << &i <<
' '
<< (
void
*)&c << endl;
11
12
return
0;
13
}
main
int main()
Definition
addressof.cpp:5
Module8
Sample Code
Pointers
addressof.cpp
Generated on Sun Sep 29 2024 16:39:53 for COMP2113 by
1.12.0