Re: [algogeeks] How remove error?

2011-08-06 Thread sukran dhawan
use an equal operator. On Sat, Aug 6, 2011 at 7:59 PM, aditi garg wrote: > use == > > > On Sat, Aug 6, 2011 at 3:42 PM, Rajesh Kumar wrote: > >> sorry actually their code is this. >> how to remove error in this code? >> >> #include >> main() >> { >> int i=10,j=15; >> if(i%2=j%3) >> printf("\nchar

Re: [algogeeks] How remove error?

2011-08-06 Thread aditi garg
use == On Sat, Aug 6, 2011 at 3:42 PM, Rajesh Kumar wrote: > sorry actually their code is this. > how to remove error in this code? > > #include > main() > { > int i=10,j=15; > if(i%2=j%3) > printf("\ncharacter"); > } > > On Sat, Aug 6, 2011 at 3:37 PM, prasad jondhale > wrote: > >> you shud use

Re: [algogeeks] How remove error?

2011-08-06 Thread Rajesh Kumar
sorry actually their code is this. how to remove error in this code? #include main() { int i=10,j=15; if(i%2=j%3) printf("\ncharacter"); } On Sat, Aug 6, 2011 at 3:37 PM, prasad jondhale wrote: > you shud use address on left hand side of assignment operator > so above pgm will give error:lvalue

Re: [algogeeks] How remove error?

2011-08-06 Thread prasad jondhale
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 wrote: > is this *i%2=i%3 *valid statement? > Thank you, > Siddharam > > > On Sat, Aug 6, 2011 at 3:23 PM, Rajesh Kumar wrote: > >> How remoe error of this code?

Re: [algogeeks] How remove error?

2011-08-06 Thread siddharam suresh
is this *i%2=i%3 *valid statement? Thank you, Siddharam On Sat, Aug 6, 2011 at 3:23 PM, Rajesh Kumar wrote: > How remoe error of this code? > > #include > main() > { > int i=10,j=15; > if(i%2=i%3) > printf("\ncharacter"); > } > > -- > Regards > Rajesh Kumar > > > -- > You received this message

[algogeeks] How remove error?

2011-08-06 Thread Rajesh Kumar
How remoe error of this code? #include 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