C Programming :: Const / Volatile Qualifier - Discussion
Home > C Programming > Const / Volatile Qualifier > MCQs Questions Discussion
1 / 10
What is the output of the following 'C' program?
include
void main ()
{
const int x = get();
printf("%d", x);
}
get()
{
return (20);
}
void main ()
{
const int x = get();
printf("%d", x);
}
get()
{
return (20);
}
A20
BError
CGarbage value
D0
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!