CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Confused?

  1. #1
    Join Date
    Apr 2002
    Location
    Mumbai,India
    Posts
    567

    Unhappy Confused?

    Hi
    If i code something like this..........
    #define name "vishal" // "niki"
    what would be the name store...........
    is it vishal
    or
    vishal // niki

    i am confused......
    Vishal

  2. #2
    Join Date
    Feb 2000
    Location
    Indore, India
    Posts
    1,046
    Dear Vishal,
    What is the confusion?
    It will be "Vishal" only.
    Rest will be ignored as comment.
    It is such a simple code that
    You would have known the solution by now
    If you bothered to type the code and run.
    Regards.
    Pravin.
    27-01-2004.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured