Strtok() VS stringstream

Is it more favourable to use stringstream instead of strtok ?
from both interview and competitive prog. point of view !

hello @atiwari

use any of them as per ur convenience