Home / Programming MCQs / C Programming MCQs / Question

G

Geetam • 5.85K Points
Tutor III

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

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.