Question from the Language C - Fundamentals test

Print the value of a variable using a pointer in C

Medium

What does the following code display?

int main()
    {
        int ranking = 15;
        int* pRanking = &ranking;
        printf("%d",*pRanking);
        return 0;
    }
Author: KahinaStatus: Published(Update)Question passed 62 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!