Is it specified somewhere which way the following program will be interpreted?

    import std;

    struct A
    {
        int x=17;
    }

    int x(A a)
    {
        return 100*a.x;
    }

    void main()
    {
        A a;
       writeln(a.x);
    }

Reply via email to