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

You've provided insufficient code to diagnose a problem.

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.