difference between and

前端 未结 6 641
难免孤独
难免孤独 2020-11-30 02:20

When I use malloc in a C program, I get a warning:

warning: incompatible implicit declaration of built-in function \'malloc\' [enabled by defaul         


        
6条回答
  •  失恋的感觉
    2020-11-30 02:47

    To learn the difference, you should read their contents for yourself.

    By default, gcc reads neither.

    When you read them, you will see that they declare malloc differently.

提交回复
热议问题