试验指向常量二维字符串的常量指针

    技术2022-05-11  7

     #include "stdio.h"#include "stdlib.h"void main(){static const char * const x264_direct_pred_names[] = { "none", "spatial", "temporal", "auto", 0 };

    for (int i=1;i<=5;i++){printf("%s/n",*(x264_direct_pred_names+i-1));

    }/*printf("%s/n",);*/system("pause");}


    最新回复(0)