C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: Balamurali Balaji       Member Level: Diamond       Posted Date: 04 Nov 2004       Category: C#

Look at the code below and answer the question.

void add(int a)
{
int b = a;
return (b);
}

public static void Main()
{
add (10);
}

Question: In the above program, which one is a formal parameter.



Select Answer:

10
a
b
both a and b




      
Your Test Score: 0 / 0



Next Question: What is the use of Obsolete attribute?
Previous Question: Which of the following statement is Incorrect? a)Virtual methods can be over-ridden in a derived class b)Abstracts methods can be over-ridden in a derived class c)Protected methods can be over-riden in a derived class
Related Questions:
  • A method in a derived class can be overridden in following cases


  • This class provides an empty control. You can create a new control by assembling existing controls on the surface of this control.


  • Default type of enum is integer and has a default value 1


  • diff b/w ENUM and CONST


  • A structure in C# can be derived from one or more


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use