This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with operator



Try this code.

int main()
{
    int a= 5, b=2, c;

	c = a - - - - - -   b * 10 ;
        printf("c=%d\n",c);

}

/* c=25! */

Anjan Goswami/Graduate Student/Department of Computer Science
http://www.csee.usf.edu/~agoswami


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]