Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 07
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Sem. 07/Person/Person.h2
diff --git a/Sem. 07/Person/Person.h b/Sem. 07/Person/Person.h
index 960d96a..43f0228 100644
--- a/Sem. 07/Person/Person.h
+++ b/Sem. 07/Person/Person.h
@@ -3,7 +3,7 @@
class Person
{
char* name = nullptr;
- int age;
+ int age = 0;
void copyFrom(const Person& other);
void free();