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
Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com
What is the value of c?
Is null always defined as 0(zero)?
Differentiate between ordinary variable and pointer in c.
write a program to rearrange the array such way that all even elements should come first and next come odd
What is the purpose of 'register' keyword in c language?
write a program to display the numbers having digit 9 in the given range from 1 to 100
Explain a file operation in C with an example.
Why c is called procedure oriented language?
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..
Why structure is used in c?