Skip to content

Commit 4177a89

Browse files
committed
Update 41_cppBeginners.cpp
1 parent b10ba75 commit 4177a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/41_cppBeginners.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ int main(){
1212
cout << "bp1 is at " << bp1 << endl;
1313
cout << "bp2 is at " << bp2 << endl;
1414

15-
bp0 ++; // int is 4 bytes * 1 = 8
15+
bp0 ++;
1616
cout << "bp0 is now at " << bp0 << endl;
1717
}

0 commit comments

Comments
 (0)