<prompt> Answer this question truthfullyWhat is the CNS complication that is associated with pellagra, which is caused by a deficiency of vitamin B3?  <response>: <reason> Pellagra is associated with dementia and hallucinations as CNS complications. 