you should be "copy run start" after exit on Switch and click ICMP to PC to Switch and worked.
You no need to reboot PC!
You need to assign an IP to the switch in order to avoid that error. You can do this using the example below:
Switch(config)#int vlan 1
Switch(config-if)#ip address 10.1.1.2 255.255.255.0