I have a statement in c as 3*3*3%4 and the output is 3 how is that?

Multiples of 3 gives 27

the remainder of the operation is given by modulus operator(%)

so
.
27%4 = 3 which is remainder obtained by division ..

Thank you...

Welcome ..
Mark it solved ..

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.