measuring upper and lower limit of DAC output

to know the values of lower limt and upper limit of DAC in arduino due.

I tried to measure the DAC analog output with multimeter with the attached code.

after uploading the program the measuring value is 0.334V continuously.

not varying after delay of 2 seconds.

how to measure the DAC analog voltage.

Pl.correct my code.

int value;

void setup()
{
}

void loop()
{
  analogWriteResolution(12);
  
  value =0;
  analogWrite(DAC0,value);

  delay(2000);

  value =4095;
  analogWrite(DAC0,value);

  
}

There is a good chance that you burned your DAC ...

DAC output is in the range of 1/6 * 3.3V and 5/6 * 3.3V. You always want to connect at least a 1.5 K Ohms resistor in serie for each DAC to avoid burning your DACs.