0
What is the output of following C program?
#include<stdio.h>
int main()
{
int x = 8, *y, z;
y = &x;
printf("%d\n", x * *y * x + *y);
return 0;
}- A8
- BRuntime error
- C520
- DCompilation error
Correct answer: C
What is the output of following C program?
#include<stdio.h>
int main()
{
int x = 8, *y, z;
y = &x;
printf("%d\n", x * *y * x + *y);
return 0;
}