Skip to content

Commit 9ca6057

Browse files
committed
add: this_pointer 05
1 parent fdaa15b commit 9ca6057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

10_this_pointer/05_simple_use.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ class Rectangle
2929
// // instance member function to find area of rectangle
3030
void area()
3131
{
32+
3233
cout << "\nArea => " << length * breadth;
3334
}
3435
};
3536

36-
3737
// // Main Function Start
3838
int main()
3939
{

0 commit comments

Comments
 (0)