What's the difference?

This is a discussion on What's the difference? within the C Programming forums, part of the General Programming Boards category; I was wondering what the difference in char* x; and char *x; is...probably a newbie question hehe....

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    8

    What's the difference?

    I was wondering what the difference in
    char* x; and char *x; is...probably a newbie question hehe.

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    There isn't one (other than style).

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    8
    ha! thanks.

  4. #4
    Registered User
    Join Date
    Apr 2010
    Posts
    4
    Seems that he is right.

  5. #5
    Registered User
    Join Date
    Apr 2010
    Posts
    10
    There is no as such difference between them.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DIfference between , and ;
    By rocketman03 in forum C++ Programming
    Replies: 6
    Last Post: 10-21-2009, 10:46 AM
  2. Difference Equations / Recurrence Relations
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 10-05-2007, 11:26 AM
  3. What's the difference between var++ and ++var
    By ulillillia in forum C Programming
    Replies: 6
    Last Post: 05-31-2007, 03:27 AM
  4. Replies: 6
    Last Post: 08-27-2006, 12:09 AM
  5. Difference between macro and pass by reference?
    By converge in forum C++ Programming
    Replies: 2
    Last Post: 02-26-2002, 05:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21