Use == for comparison not = On 6 Aug 2011 17:35, "Rajesh Kumar" <testalgori...@gmail.com> wrote: > > How to remove error in this code? > > #include<stdio.h> > main() > { > int i=10,j=15; > if(i%2=j%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 algogeeks@googlegroups.com. > To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. > 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 algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.