C pointers vs. Objective-C pointers

前端 未结 7 1557
醉酒成梦
醉酒成梦 2021-02-06 05:37

I\'m coming from an Objective-C background and am trying to expand my knowledge in C. One thing has me confused, however, and that\'s the difference between pointers in C and O

相关标签:
7条回答
  • 2021-02-06 06:10

    It's always a good idea to define each variable on its own line. The when you rewrite your initial objective-с code like

    NSString* string = @"Caramel coffee";
    NSString* stringPointer;
    

    many things become clear.

    0 讨论(0)
提交回复
热议问题