what is the output of the following code snippet
C (Programming Language)
Q75. What is the output of the following code snippet?
int main() {
int sum = 2 + 4 / 2 + 6 * 2;
printf("%d", sum);
return 0;
}
- 2
- 15
- 16
- 18
int main() {
int sum = 2 + 4 / 2 + 6 * 2;
printf("%d", sum);
return 0;
}
$string_name = "testcookie";
$string_value = "This is a test cookie";
$expiry_info = info()+259200;
$string_domain = "localhost.localdomain";
$_REQUEST
is missing.$_COOKIES
array is missing.setcookie()
is missing.$total = 2 + 5 * 20 - 6 / 3
function process(...$vals) {
// do some processing
}