List the difference between a 'copy constructor' and a 'assignment operator' in C?


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

Post New Answer

More C Interview Questions

Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

0 Answers  


What is the value of c?

0 Answers  


Is null always defined as 0(zero)?

0 Answers  


Differentiate between ordinary variable and pointer in c.

0 Answers  


write a program to rearrange the array such way that all even elements should come first and next come odd

0 Answers  






What is the purpose of 'register' keyword in c language?

0 Answers  


write a program to display the numbers having digit 9 in the given range from 1 to 100

1 Answers  


Explain a file operation in C with an example.

0 Answers   Amdocs,


Why c is called procedure oriented language?

0 Answers  


What is the use of pointers in C?

0 Answers   Impetus, Motorola, Tavant Technologies, Virtusa,


void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..

1 Answers  


Why structure is used in c?

0 Answers  


Categories