Skip to main content
2 of 2
added syntax-highlighting
Deduplicator
  • 9.3k
  • 5
  • 33
  • 53

No. It is very standard and normal C style. Your example is a bad one, because it should just be a for loop, but in general there's nothing wrong with

if ((a = f()) != NULL)
    ...

for example (or with while).

mrr
  • 949
  • 8
  • 11