Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?
Answer / vijaykumar
When constructor public c(string a) is called to construct
an object, it first calls the default constructor then the
initialisation procedures in public c(string a).
Is This Answer Correct ? | 4 Yes | 0 No |
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What is pass by reference in functions?
Dont ansi function prototypes render lint obsolete?
What is the difference between #include and #include 'file' ?
What is the output for the below program? void main() { float me=1.1; double you=1.1; if(me==you) printf("love c"); else printf("know c"); }
What is an example of structure?
What is the most efficient way to count the number of bits which are set in a value?
How can I access a memory located at certain address?
how can I convert a string to a number?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
What the different types of arrays in c?