Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

C problem

2008-02-28 by bhadson2001

unsigned char a;
a=255*20/10;

it gives output 254

for
a=255*200/100;

it gives output 111

why it gives different results.

it there any logical relationship.

      kindly help me to resolve the problem.
                 i will be grateful
                           thanks a lot.......

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.