📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    What will be the output of the following code

    snippet? int num = 10; int *ptr = # printf("%d", *ptr);
    A 10 Correct Answer Incorrect Answer
    C The memory address of 'num' Correct Answer Incorrect Answer
    D Garbage value Correct Answer Incorrect Answer

    Solution

    10

    Practice Next

    Relevant for Exams:

    ask-question

    Not sure which exam is best for you Talk to our expert

    Get My Free Call