Q. What is the output of C Program with functions and pointers.?

Code:
int main()
{
    int b=25;
    //b memory location=1234;
    int *p;
    p=&b;
    printf("%d %d %d", &b, p);
    return 0;
}
  • (A) 25 25
  • (B) 1234 1234
  • (C) 25 1234
  • (D) 1234 25
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1234 1234

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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