πŸ“Š C Programming
Q. What is the output of C Program with pointers?
Code:
int main()
{
    int a=20;
    //a memory location=1234
    printf("%d %d %d", a, &a, *(&a));
    return 0;
}
  • (A) 20 20 20
  • (B) 20 1234 1234
  • (C) 20 1234 20
  • (D) 20 20 20
πŸ’¬ Discuss
βœ… Correct Answer: (C) 20 1234 20

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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