πŸ“Š C Programming
Q. What will be the output of following program ?
Code:
#include
main()
{
int x,y = 10;
x = y * NULL;
printf(“%d”,x);
}
  • (A) 0
  • (B) 10
  • (C) error
  • (D) garbage value
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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