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 <siddharam....@gmail.com> wrote: > is this *i%2=i%3 *valid statement? > Thank you, > Siddharam > > > On Sat, Aug 6, 2011 at 3:23 PM, Rajesh Kumar <testalgori...@gmail.com>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 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. > > -- 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 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.