1st stat. is treated as int a=1,int 2,int 3; whch is an error.....:):) On Tue, Aug 16, 2011 at 10:05 AM, sagar pareek <[email protected]>wrote:
> http://en.wikipedia.org/wiki/Comma_operator > > > On Mon, Aug 15, 2011 at 11:24 AM, shady <[email protected]> wrote: > >> read abt assignments and statements in C >> >> >> On Mon, Aug 15, 2011 at 11:14 AM, muthu raj <[email protected]> wrote: >> >>> What is the difference between the following statements. >>> >>> int a=1,2,3 ; >>> and >>> >>> int a; >>> a=1,2,3; >>> >>> >>> first one is an error while second one is not. >>> >>> Can Any one tell me y ? >>> >>> >>> >>> >>> >>> >>> >>> *Muthuraj R >>> IV th Year , ISE >>> PESIT , Bangalore* >>> >>> -- >>> 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. >> > > > > -- > **Regards > SAGAR PAREEK > COMPUTER SCIENCE AND ENGINEERING > NIT ALLAHABAD > > -- > 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 Himanshu Kansal Msc Comp. sc. (University of Delhi) -- 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.
