# GZ

Initializes all local variables. This is a deprecated option. The replacement option is /RTC1. This content is specific to C++; it does not apply to DPC++.

## Syntax

Linux: | None

Windows: | /GZ

## Arguments

None

## Default

OFF | The compiler does not initialize local variables.

## Description

This option initializes all local variables to a non-zero value. To use this option, you must also specify option /Od.

## IDE Equivalent

None

## Alternate Options

Linux: None

Windows: /RTC1

Parent topic: Language Options