6 Matching Annotations
  1. Jul 2019
    1. Lexical scope is sometimes also referred to as Static Scope.

      Lexical scope only depends on the code text and not on the runtime callstack

  2. Jun 2019
    1. defining the storage engine for multer, of the type multer.diskStorage

      like a config for multer settings

    1. ptr++, then the pointer ptr will be shifted forward by 20 bytes.

      since int is 4 bytes and it is an array of 5 ints 5 * 4 = 20 hence the base type is int[5] and the size of base is 20 bytes

    1. {}

      since we don't actually need any code, why not keep it empty

    2. : real(r), imag(i)

      this is how you initialise static members of a class object