What will be the output of the following PHP code?
<?php
$url = "contact@examveda.com";
echo ltrim(strstr($url, "@"),"@");
?>
<?php
$url = "contact@examveda.com";
echo ltrim(strstr($url, "@"),"@");
?>A. contact@examveda.com
B. contact
C. contact@
D. examveda.com
Answer: Option D

Join The Discussion