1. Which of the following statements is correct? We can return a global variable by reference. We cannot return a local variable by reference.





Ask Your Doubts Here

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

Comments

Show Similar Question And Answers
QA->Two statements are given followed by two conclusions I and II. You have to consider the two statements to be true even if they seem to be at variance from commonly known facts. You have to decide which one of the given conclusions is definitely drawn from the given statements. Statement : All virtuous persons are happy. No unhappy person is virtuous. Conclusions : I. Happiness is related to virtue II. Unhappy person is not virtuous.....
QA->Which​ ​of​ ​the​ ​following​ ​statements​ ​is​ ​correct?....
QA->Which one of the following statements with regard to the "Make in India" initiative of the Government of India is not correct?....
QA->All of the following statements are correct except?....
QA->Which​ ​of​ ​the​ ​following​ ​cities​ ​hosted​ ​the​ ​18​ th​ ​ ​Global​ ​Summit​ ​of Women​ (GSW)with​ ​the​ ​theme​ ​of​ ​“Women​ ​and​ ​Asia-Driving​ ​the​ ​Global Economy” ,informally​ ​called​ ​the​ ​“Davos​ ​for​ ​Women​ ​“in​ ​June​ ​2008?....
MCQ->Which of the following statements is correct? We can return a global variable by reference. We cannot return a local variable by reference.....
MCQ->Which of the following statements are correct about the this reference? this reference can be modified in the instance member function of a class. Static functions of a class never receive the this reference. Instance member functions of a class always receive a this reference. this reference continues to exist even after control returns from an instance member function. While calling an instance member function we are not required to pass the this reference explicitly.....
MCQ->Which of the following statements is correct? Once the variable and the reference are linked they are tied together. Once the reference of a variable is declared another reference of that variable is not allowed.....
MCQ->Which of the following statements is correct? Once a reference variable has been defined to refer to a particular variable it can refer to any other variable. A reference is not a constant pointer.....
MCQ->Which of the following statements are correct about the structure declaration given below? struct Book { private String name; protected int totalpages; public Single price; public void Showdata() { Console.WriteLine(name + " " + totalpages + " " + price); } Book() { name = " "; totalpages = 0; price = 0.0f; } } Book b = new Book(); We cannot declare the access modifier of totalpages as protected. We cannot declare the access modifier of name as private. We cannot define a zero-argument constructor inside a structure. We cannot declare the access modifier of price as public. We can define a Showdata() method inside a structure.....
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