What will be the output of the following Java program?
class increment
{
public static void main(String args[])
{
int g = 3;
System.out.print(++g * 8);
}
}
class increment
{
public static void main(String args[])
{
int g = 3;
System.out.print(++g * 8);
}
}
A. 25
B. 24
C. 32
D. 33
Answer: Option C
Join The Discussion