Re: Error in 'man operator'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Alejandro Colomar <alx.manpages@xxxxxxxxx>, 2021-08-28, 02:17:
Hmm, I just came up with some very stupid piece of code that can show the different precedence between "unary operators" and "cast operators":

sizeof(int)x;

Perhaps a more vivid example would be:

  sizeof (int) + 1

which is parsed as
  (sizeof (int)) + 1

rather than:

  sizeof ((int) +1)

--
Jakub Wilk



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux