执行下面Python代码后,输出的结果是?( )
def func(d):
d['a'] = 5
c = {'a': 1, 'b': 2}
func(c)
print(c)
{'a': 1, 'b': 2}
{'b': 2}
{'a': 5, 'b': 2}
抛出异常