What will be the output of the following C code? [code] #include <stdio.h> void m(int k) { printf("hi"); }

Kim Trang

New member
What will be the output of the following C code?
Code:
    #include <stdio.h>
    void m(int k)
    {
        printf("hi");
    }
    void m(double k)
    {
        printf("hello");
    }
    void main()
    {
        m(3);
    }
A. hi
B. hello
C. Compile time error
D. Nothing
 

Tìm kiếm

Back
Top