Sail E0 Webinar
Question
What will be the output of the given program?
#include
void main()
{
int value1, value2=100, num=100;
if(value1=value2%5) num=5;
printf("%d %d %d", num, value1, value2);
}
Options:
A .  100 100 100
B .  5 0 20
C .  5 0 100
D .  100 0 100
E .  100 5 100
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers