:s/foo/bar/c Marks the first instance of foo on the line and asks for confirmation for substitution with bar
:s/foo/bar/c
:%s/foo/bar/gc Marks consecutively every match of foo in the file and asks for confirmation for substitution with bar
:%s/foo/bar/gc