Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Undefined, unspecified, implementation-defined behaviour » ?

Aussi appelé : undefined behaviour · unspecified behaviour · implementation-defined behaviour

Definition 2.9 University Computer Science — Year 1 · Chapitre 2 — C: Types, Operators and Control Flow

Undefined behaviour is the behaviour of a construct for which the standard imposes no requirement at all: signed overflow, an access outside an array, two unsequenced side effects on one object, use of an uninitialised variable. Unspecified behaviour allows several outcomes without saying which: the order in which the two operands of + are evaluated. Implementation-defined behaviour is unspecified behaviour that each implementation must document: the width of int, or whether char is signed.

Lire dans le chapitre →