About 1,470,000 results
Open links in new tab
  1. Initialization (programming) - Wikipedia

    In computer programming, initialization or initialisation is the assignment of an initial value for a data object or variable. The manner in which initialization is performed depends on the programming language, as well as the type, storage class, etc., of an object to be initialized.

  2. Differences Between Definition, Declaration, and Initialization

    Mar 18, 2024 · In this tutorial, we’ll explain the differences between definition, declaration, and initialization in computer programming. The distinction between the three concepts isn’t clear in all languages.

  3. c++ - What does 'initialization' exactly mean? - Stack Overflow

    Nov 11, 2019 · All definitions are declarations in C and C++, and a definition of a variable may optionally include an initialiser. If no initialiser is provided for a global/static, then the default is zero-initialisation (or, in C++, for a struct/class type, calling an appropriate default constructor if …

  4. What distinguishes the declaration, the definition and the ...

    Apr 28, 2014 · Initialization is the specification of the initial value to be stored in an object, which is not necessarily the same as the first time you explicitly assign a value to it. A variable has a value when you define it, whether or not you explicitly give it a value.

  5. What Is Variable Initialization – Complete Guide

    Nov 20, 2023 · Variable initialization is a fundamental concept in programming, often overlooked by its apparent simplicity. Yet, it’s crucial for creating robust and bug-free code. In this comprehensive tutorial, we’ll dive into the nuts and bolts of variable initialization, uncover its importance, and illustrate it with engaging examples.

  6. Demystifying Initialization – What Does Initializing Mean and …

    The process of initialization plays a crucial role in programming as it sets the initial values of variables, objects, and arrays. Understanding initialization is essential for developers as it ensures the correct functioning of programs and helps prevent runtime errors and bugs.

  7. Initialization - cppreference.com

    Dec 3, 2024 · Initialization of a variable provides its initial value at the time of construction. The initial value may be provided in the initializer section of a declarator or a new expression. It also takes place during function calls: function parameters and …

  8. 1.4 — Variable assignment and initialization – Learn C

    Mar 6, 2025 · Initialization provides an initial value for a variable. Think “initial-ization”. Unlike assignment (which is generally straightforward), initialization in C++ is surprisingly complex. So we’ll present a simplified view here to get started. There are 5 …

  9. Assignment and Initialization - Learn Loner

    Assignment and initialization are fundamental concepts in programming languages that involve storing values in variables. While they may seem similar, they serve different purposes and have distinct roles in programming. Assignment is the process of giving a value to a variable.

  10. Declaration vs Initialization vs Invocation in Programming

    Initialization assigns initial values to variables. Invocation executes a piece of code to retrieve its value. Declaration declares the creation of variables and functions. Initialization occurs when you assign an initial value to a variable.

  11. Some results have been removed
Refresh