I have a statement in c as 3*3*3%4 and the output is 3 how is that?
Daita
0
Newbie Poster
Recommended Answers
Jump to PostMultiples of 3 gives 27
the remainder of the operation is given by modulus operator(%)
so
.
27%4 = 3 which is remainder obtained by division ..
All 3 Replies
Reply to this topic
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.