?
What will be the output of the given program?
What will be the output of the given program?
#include<stdio.h>
void main()
{
int value=0;
if(value)
printf("well done ");
printf("examveda");
}
#include<stdio.h>
void main()
{
int value=0;
if(value)
printf("well done ");
printf("examveda");
}
Answer & Solution
Correct Answer:
Option
B
As the value of variable value is zero so, it evaluates to false in the if condition.
Join the Discussion
Login to post a comment or share your explanation.
Login