πŸ“Š C Programming
Q. What is the output of C Program with functions and pointers.?
Code:
int main()
{
    int b=25;
    //b memory location=1234;
    int *p = b;
    printf("%d %d", b, p);

    return 0;
}
  • (A) 25 1234
  • (B) 25 0
  • (C) 25 25
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 25 25

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
173
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
84%
Success Rate