หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
function returns array
Remarks
A function cannot return an array. Return a pointer to an array instead.
Example
The following example generates C2090:
// C2090.cpp
int func1(void)[] {} // C2090
Possible resolution:
// C2090b.cpp
// compile with: /c
int* func2(int * i) {
return i;
}