#include<stdio.h>#include<stdlib.h>#include<string.h>int y = 5;
int x;
voidf1(){
if (y == 5) {
x = 10;
} else {
x = 15;
}
printf("Value of x is %d\n", x);
}
intmain(int argc, char **argv){
f1();
return0;
}
This website uses cookies to ensure you get the best experience on our website. Learn more