when m pressing printf("welcome to airline reservation system\n");
its gettng error tt its a declaration syntax error plx help me i have to complete my project

Recommended Answers

All 3 Replies

Perhaps you should include a format string as first argument to printf.
Something like printf("%s\n", . . .

You've provided insufficient code to diagnose a problem.

You are right. Just thought it would be evident. Will keep that in mind. :)

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.