
- What is a pointer in C?
- What are the advantages of using pointers?
- How is pass by reference achieved using pointers in C?
- What are the differences between malloc() and calloc()?
- How to use realloc() to dynamically increase size of an already allocated array?
- What is the equivalent pointer expression for referring an element a[i][j][k][l], in a four dimensional array?
- Declare an array of three function pointers where each function receives two integers and returns float.
- Explain the variable assignment in the declaration
int *(*p[10])(char *, char *);
- What is the value of
sizeof(a) /sizeof(char *)
char *a[4]={"sridhar","raghava","shashi","srikanth"};
- (i)What are the differences between the C statements below:
char *str = "Hello"; char arr[] = "Hello";
(ii)Whether following statements get complied or not? Explain each statement.
arr++; *(arr + 1) = 's'; printf("%s",arr);