Skip to content

Commit

Permalink
Update StaticVariableUse.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhangi47 authored Jul 7, 2023
1 parent 4f0a022 commit 215576c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StaticVariableUse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int main() {


// output - obj1 value: 42
obj2 value: 42
// obj2 value: 42

// output when obj1.setValue(42); is commented then - obj1 value: 100
// obj2 value: 100
Expand Down

0 comments on commit 215576c

Please sign in to comment.