πŸ“Š C Programming
Q. Which statement is true about the given code ?
Code:
#include <stdio.h>
int main()
{
  printf("%d", main);
  return 0;
}
  • (A) Goes in infinite loop
  • (B) Gives Address of function main.
  • (C) Gives garbage value
  • (D) Compilation Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) Gives Address of function main.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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