问题 填空题

下面程序运行时输出结果为______。
#include <iostream.h>
#include <malloc.h>
class Rect

public:
Rect(int l,int w) length=l;width=w;)
void Print() cout<<"Area:"<<length*width<<endl;
void *operator new(size-t size) return malloc(size);
void operator delete(void *p)free(p
private:
int length,width;
;
void main()

Rect *p;
p=new Rect(5,4);
p->Print();
deletep;

答案

参考答案:Area:20

选择题
单项选择题