Question:

Which of the following functions are found when called in main during name lookup?

#include <iostream>

namespace standards
{
    struct datastructure
    {
    };

    void foo(const datastructure& ds)
    {
    }

    void bar()
    {
    }
}

int main(int argc, char** argv)
{
    standards::datastructure ds;

    foo(ds);

    bar();

    return 0;
}

Answers:


Keywords:

© 2017 QuizBucket.org