Kizspy | Question: 5
(Choose 1 answer)
FJOVERFLOW COM
What will be the output of the following code snippet:
#include <stdlib.h>
#include <stdio.h>
int x = 5;
void someFunction() {
int x = 10;
int x;
x = 15;
printf("%d",x);
printf("%d",x);
int main() {
someFunction();
printf("%d",x);
return 0;
A. 15 10 5
B. 15 5 10
C. 10 15 15
D. 10 10 5