πŸ“Š C Programming
Q. What will be the output of the following C code?
Code:
#include <stdio.h>
    int const print()
    {
        printf(" example.com");
        return 0;
    }
    void main()
    {
        print();
    }
  • (A) Error because function name cannot be preceded by const
  • (B) Example.com
  • (C) Example.com is printed infinite times
  • (D) Blank screen, no output
πŸ’¬ Discuss
βœ… Correct Answer: (B) Example.com

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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