ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful? 
 Question Submitted By :: Semo
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?
Answer
# 1
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 ?    0 Yes 0 No
Vijaykumar
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Explain following declaration int *P(void); and int (*p)(char *a);  2
what will be the output: main(){char ch;int a=10;printf("%d",ch);} Wipro25
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=? Geometric-Software5
Write a program to interchange two variables without using the third variable? Accenture9
explain memory layout of a C program  1
int *a[5] refers to TCS7
What is structure padding & expalain wid example what is bit wise structure?  1
how to sort two array of characters and make a new array of characters. Accenture1
how many times of error occur in C  7
How would you write qsort?  1
how memory store byte Huawei3
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }  2
The differences between Windows XP and Windows Visa HCL6
WAP – represent a char in binary format Motorola4
in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?  4
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student" IBM3
What is memmove? Oracle1
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case TCS5
Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.  4
who is the founder of c HP7
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com