is this a valid statement in in c: &main, where main is int main()? If so why?
corby -4 Junior Poster
Recommended Answers
Jump to PostThe main() function is not allowed to be called inside a program.
You're thinking of C++. It's legal in C (though rarely a good idea).
All 3 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Tumlee 42 Junior Poster in Training
Narue 5,707 Bad Cop Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.