Anonymous user
Polymorphism/C: Difference between revisions
no edit summary
m (moved Polymorphism (C) to Polymorphism/C: Normal to use directory-like structuring) |
No edit summary |
||
Line 1:
{{Programming-example-page|Polymorphism}}
<lang c>
{
if(pthis && *pthis)
{
▲ free(*pthis); *pthis = NULL;
}
}
{
struct _Circle
{
Point point;
▲ Point point;
▲ } Circle;
{
if(pthis && *pthis)
{
▲ free(*pthis); *pthis = NULL;
}
}
|