解析如何用指针实现整型数据的加法

代码如下所示:
复制代码 代码如下:

#include <stdio.h>
int *add(int a,int b)
{
    int c = 0;     //原题没有这行
    int *p = NULL;
    p = &c;        //原题没有这行
    *p = a+b;
    return p;
}
int main(void)
{
    printf("%d/n",*add(2,3));
    return 0;
}