Remove default jquery from wordpress

WordPress themes comes with a default jquery if you want to remove that jquery then write following code in functions.php

if (!is_admin())
{
	add_action("wp_enqueue_scripts", "ce_enqueue_scripts");
}

function ce_enqueue_scripts()
{
	wp_deregister_script('jquery');
}