单选题

若有以下程序

#include<stdio.h>

int *f(int *s, int *t)

{

    int *k; 

    if (*s<*t)

    {

        k= s;s=t;t=k;

    }

    return s;

}

main()

{

    int i=3,j=5,*p=&i,*q=&j,*r;

    r=f(p,q);

    printf("%d,%d,%d,%d,%d\n",i,j,*P,*q,*r);

}

则程序的输出结果是(    )

A

3,5,5,3,5

B

5,3,5,3,5

C

5,3,3,5,5

D

3,5,3,5,5

赣ICP备20007335号-2