Allocate Structure Array

Mnemonic nsa
Statement x = new S[a]
Description Sets x to a new array of structure S of length b. Each entry is set to unset. Throws an unable to allocate exception if there is no more memory to allocate. Throws invalid operand if b is not a whole number or is less than 0.
Type Computational
Categories
  • data
Variants
mr x = new S[a]
ir x = new S[3]
Types
Exceptions
  • unable to allocate
  • invalid operand
Relaxations
Contact Information

We would be more than happy to help you. Our opening hours are 9–15 (CET).

[email protected]

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway

Copyright © 2018-24 progsbase.com by Inductive AS.