Professional Documents
Culture Documents
Term Paper: 2
I. TOPIC: Pointer in C
III.QUESTIONS
example
5. Why we cannot add two pointers? Why are pointers different sizes [3+2]
on different machines?
6. Is it possible to write scanf statement without ‘&’ operator? Give [2+3]
void main()
{
int* pc, c, d;
c = 5;
d = -15;
pc = &c;
printf("%d", *pc);
pc = &d;
printf("%d", *pc);
}
Academy of Technology
Paper: Programming for Department: 2nd Semester Paper Code: ES-CS201
Problem Solving (All)
1. Kanetkar Y, Let us C
Note: