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

There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.

2528


Is sorted c++?

569


How would you find out if a linked-list is a cycle or not?

540


What are the comments in c++?

566


If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?

605






What are built-in functions? What is the syntax for the definition?

564


What is abstract class in c++?

579


Write syntax to define friend functions in C++.

597


What do you understand by pure virtual function? Write about its use?

573


Write about an iterator class?

606


What is the purpose of templates in c++?

561


What is meant by a delegate?

602


Which software is used for c++ programming?

610


Why is standard template library used?

571


What is unary operator? List out the different operators involved in the unary operator.

580