Is it dangerous to oc my cpu? i have i7-4770k 3,5GHz. Since it's a k, should it be more safe? what if i just oc to 4,0ghz from 3,5ghz will it shorten the life of my cpu? Will i lose the warranty of the cpu?
Not really dangerous if you know what you are doing. Will it shorten its life? Perhaps. Depends on how far you take it and what cooling you have. 4 GHz is modest number should be perfectly fine, just get an aftermarket cooler, like Hyper 212+. Technically, you should loose warranty, than again, if you don't try something extreme, your cpu should be fine and you won't fry it and nobody would be able to tell that you overclocked it.