List the difference between a "copy constructor" and a "assignment operator"?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Go through the following code sinippet char a[20]; a="Hello Orcale Test"; will this compile?

4 Answers   Oracle,


What is undefined behavior?

1 Answers  


How can I implement a delay, or time a users response, with sub-second resolution?

0 Answers  


Differentiate between declaring a variable and defining a variable?

0 Answers  


How can I invoke another program from within a C program?

8 Answers  


What is the difference between %d and %i?

0 Answers  


difference between Low, Middle, High Level languages in c ?

0 Answers   Bosch, Infosys,


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

0 Answers  


Was 2000 a leap year?

0 Answers  


in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?

11 Answers   IBM,


C language questions for civil engineering

0 Answers   Tech Mahindra,


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

0 Answers   Wilco,


Categories