Hi i need to Acess a variable "int Intval" in the below
mentioned code .How to Access it guys i am waiting for your
reply

Answer Posted / ved prakash

using System;
class ved
{
public static void Main()
{
int x,y,z;
x=3;
y=6;
z=0;
z=x+y;
Console.WriteLine(z);
Console.ReadLine();

}
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is else if syntax?

772


Discuss the possibilities related to the termination of a program before entering the mainq method?

629


How are the features of c++ different from c?

692


What is the use of setprecision in c++?

621


What is pure virtual function?

718






What is c++ best used for?

654


Can I have a reference as a data member of a class? If yes, then how do I initialise it?

794


What is pure virtual function? Or what is abstract class?

682


What are shallow and deep copies?

726


How do you clear a map in c++?

684


What is the outcome of cout< a) 16 b) 17 c) 16.5

699


Define macro.

695


How can an improvement in the quality of software be done by try/catch/throw?

681


What are exceptions c++?

681


What is a singleton c++?

660