Interesting one

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nikeshsrivastav
    New Member
    • Jul 2007
    • 8

    Interesting one

    #define STYLE1 char
    main()
    {
    typedef char STYLE2;
    STYLE1 x;
    STYLE2 y;
    clrscr();
    x=255;
    y=255;
    printf("%d %d\n",x,y);
    }
  • Meetee
    Recognized Expert Contributor
    • Dec 2006
    • 928

    #2
    Originally posted by nikeshsrivastav
    #define STYLE1 char
    main()
    {
    typedef char STYLE2;
    STYLE1 x;
    STYLE2 y;
    clrscr();
    x=255;
    y=255;
    printf("%d %d\n",x,y);
    }
    What is interesting in this? Can you ellaborate ur problem?

    Comment

    • sicarie
      Recognized Expert Specialist
      • Nov 2006
      • 4677

      #3
      Have a look at this.

      Comment

      Working...