c++ ฟังชั่น pow

ช่วยอธิบายบรรทัดที่ขีดเส้นใต้ให้ทีครับว่ามันทำงานยังไง ถ้าใครพอทราบ ขอขอบคุณล่วงหน้าครับ
#include <stdio.h>
#include <conio.h>
#include <math.h>

int main(){
    float power [5] [2];
    int r,c;
    
    for (r=0; r<5; r++){
        for(c=0; c<2; c++){
            power[r] [c] = pow((r+1), (c+2));
        }
    }
    printf("x \tx^2 \tx^3\n");
    printf("=====================\n");
    for(r=0; r<5; r++){
        printf("%d ",r+1);
        for (c=0; c<2; c++){
            printf("\t%3.0f",power[r] [c]);
        }
        printf("\n");
    }
    getch();
    
    return 0;
    
}
แสดงความคิดเห็น
โปรดศึกษาและยอมรับนโยบายข้อมูลส่วนบุคคลก่อนเริ่มใช้งาน อ่านเพิ่มเติมได้ที่นี่