Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336
With which of the following can the ref keyword be used? Static data Instance data Static function/subroutine Instance function/subroutine ?->(Show Answer!)
Question Set

1. With which of the following can the ref keyword be used? Static data Instance data Static function/subroutine Instance function/subroutine






Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->What function displays row data in a column or column data in a row?....
QA->If function inside another function is called a _____ Function....
QA->P can do a work in the same time in which Q and R together can do it. If P and Q work together, the work can be completed in 10 days. R alone needs 50 days to complete the same work. then Q alone can do it in....
QA->For how many month can the proclamation of emergency at the first instance be restricted?....
QA->For howmany month can the proclamation of emergency at the first instance be restricted?....
MCQ->With which of the following can the ref keyword be used? Static data Instance data Static function/subroutine Instance function/subroutine....
MCQ->Which of the following statements are correct about functions and subroutines used in C#.NET? A function cannot be called from a subroutine. The ref keyword causes arguments to be passed by reference. While using ref keyword any changes made to the parameter in the method will be reflected in that variable when control passes back to the calling method. A subroutine cannot be called from a function. Functions and subroutines can be called recursively.....
MCQ->Which of the following statements are correct about subroutines used in C#.NET? If we do not return a value from a subroutine then a value -1 gets returned. Subroutine definitions cannot be nested. Subroutine can be called recursively. To return the control from middle of a subroutine exit subroutine should be used. Subroutine calls can be nested.....
MCQ->Which of the following will be the correct output for the C#.NET program given below? namespace IndiabixConsoleApplication { class SampleProgram { static void Main(string[] args) { int a = 5; int s = 0, c = 0; Proc(a, ref s, ref c); Console.WriteLine(s + " " + c); } static void Proc(int x, ref int ss, ref int cc) { ss = x x; cc = x x x; } } }....
MCQ->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.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution