use an equal operator. On Sat, Aug 6, 2011 at 7:59 PM, aditi garg <aditi.garg.6...@gmail.com>wrote:
> use == > > > On Sat, Aug 6, 2011 at 3:42 PM, Rajesh Kumar <testalgori...@gmail.com>wrote: > >> 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 < >> jondhale.pra...@gmail.com> 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 <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. >>> >>> >> >> >> -- >> 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. >> > > > > -- > Aditi Garg > Undergraduate Student > Electronics & Communication Divison > NETAJI SUBHAS INSTITUTE OF TECHNOLOGY > Sector 3, Dwarka > New Delhi > > > -- > 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.