CuriousTab
Search
CuriousTab
Home
Aptitude
Computer
C Programming
C# Programming
C++ Programming
Database
Java Programming
Networking
Engineering
Biochemical Engineering
Biochemistry
Biotechnology
Chemical Engineering
Civil Engineering
Computer Science
Digital Electronics
Electrical Engineering
Electronics
Electronics and Communication Engineering
Mechanical Engineering
Microbiology
Technical Drawing
GK
Current Affairs
General Knowledge
Reasoning
Data Interpretation
Logical Reasoning
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Exams
AIEEE
Bank Exams
CAT
GATE
IIT JEE
TOEFL
Jobs
Analyst
Bank PO
Database Administrator
IT Trainer
Network Engineer
Project Manager
Software Architect
Functions and Subroutines problems
1. Which of the following statements are correct?
An argument passed to a ref parameter need not be initialized first.
Variables passed as out arguments need to be initialized prior to being passed.
Argument that uses params keyword must be the last argument of variable argument list of a method.
Pass by reference eliminates the overhead of copying large data items.
To use a ref parameter only the calling method must explicitly use the
ref
keyword.
Options
A. 1, 2
B. 2, 3
C. 3, 4
D. 4, 5
E. None of these
Show Answer
Scratch Pad
Discuss
Correct Answer: 3, 4
First
2
3
More in C# Programming:
Arrays
Attributes
Classes and Objects
Collection Classes
Constructors
Control Instructions
Datatypes
Delegates
Enumerations
Exception Handling
Functions and Subroutines
Generics
Inheritance
Interfaces
Namespaces
.NET Framework
Operators
Polymorphism
Properties
Strings
Structures