is there any method to print a character or string without using ; ?

Recommended Answers

All 2 Replies

Sure, why not ask more questions without effort.

You can do something like this:

if(printf("Hello"))
{
}
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.