Objective-C Language Predefined Macros

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

ANSI C defines a number of macros. Although each one is available for your use in programming, the predefined macros should not be directly modified.

Syntax

  1. DATE The current date as a character literal in "MMM DD YYYY" format
  2. TIME The current time as a character literal in "HH:MM:SS" format
  3. FILE This contains the current filename as a string literal.
  4. LINE This contains the current line number as a decimal constant.
  5. STDC Defined as 1 when the compiler complies with the ANSI standard.


Got any Objective-C Language Question?