sorry actually their code is this.
how to remove error in this code?

#include<stdio.h>
main()
{
int i=10,j=15;
if(i%2=j%3)
printf("\ncharacter");
}

On Sat, Aug 6, 2011 at 3:37 PM, prasad jondhale
<[email protected]>wrote:

> you shud use address on left hand side of assignment operator
> so above pgm will give error:lvalue required
>
> On 8/6/11, siddharam suresh <[email protected]> wrote:
> > is this *i%2=i%3 *valid statement?
> > Thank you,
> > Siddharam
> >
> >
> > On Sat, Aug 6, 2011 at 3:23 PM, Rajesh Kumar <[email protected]
> >wrote:
> >
> >> How remoe error of this code?
> >>
> >> #include<stdio.h>
> >> main()
> >> {
> >> int i=10,j=15;
> >> if(i%2=i%3)
> >> printf("\ncharacter");
> >> }
> >>
> >> --
> >> Regards
> >> Rajesh Kumar
> >>
> >>
> >>  --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Algorithm Geeks" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected].
> >> For more options, visit this group at
> >> http://groups.google.com/group/algogeeks?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> > http://groups.google.com/group/algogeeks?hl=en.
> >
> >
>
>
> --
>
> Thanks & Regards
> Prasad Y.Jondhale
> M.Tech(software engg.),
> Delhi College Of Engineering,
> Main Bawana road,Delhi-110042
> Ph-09540208001
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
Regards
Rajesh Kumar

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to