ExamVeda
Login
Home
Basic Syntax and Data Types in C Sharp
?

Which of the conversions are valid for the following C# code?
static void Main(string[] args)
{
    int a = 22;
    long b = 44;
    double c = 1.406;
    b = a;
    c = a;
    a = b;
    b = c;
}

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.