PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
ser_1368971496355
1 sec ago
Untitled
4 sec ago
Untitled
8 sec ago
Untitled
9 sec ago
de-geso
10 sec ago
startup
Lua | 14 sec ago
Untitled
15 sec ago
Untitled
26 sec ago
Untitled
By: a guest on
Jul 15th, 2012
| syntax:
None
| size: 0.18 KB | hits: 9 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
why no output is displaying
cout << &s1.f
cout << &s1.i
# include <iostream>
using namespace std;
struct s
{
char c;
int i;
float f;
}s1;
int main()
{
cout << &s1.c;
}
create a
new version
of this paste
RAW Paste Data
why no output is displaying cout << &s1.f cout << &s1.i # include <iostream> using namespace std; struct s { char c; int i; float f; }s1; int main() { cout << &s1.c; }