Domanda di colloquio di Qualcomm

static variables

Risposta di colloquio

Anonimo

6 lug 2013

static variables are stored in the data segment (as opposed to the stack). They are primarily used in functions that are called multiple times. In this situation a static variable is itialized one time and each call to the function would update the same variable. Thus the static variable is shared by all calls to this function.

Domande di colloquio di Qualcomm: static variables | Glassdoor