Will the MAC address of my iPhone reset if I reset my iPhone to its factory settings over iTunes?

I have jailbroken my device and used terminal to change my MAC address so that I could connect to school's Wi-Fi. But when I wanted to change it to its initial number, I typed in a wrong value and it just messed up my Wi-Fi, I can't connect to Wi-Fi anymore. Wonder if resetting to factory settings would help…

No… Mac Address are Hard-Coded not Soft-Coded…

Its is actually/physically printed on your Wi-Fi Radio.

You can't change the MAC address of your device. Some networking devices have the ability to mimic/clone another devices MAC. If you factory reset your phone this should reset since this is a software feature.