Question 3
Which of the following statements correctly declares a pointer variable ptr to hold the address of a character variable ch in C and assigns the address of ch to ptr?
char *ptr; ptr = &ch;
char *ptr; ptr = *ch;
char ptr; ptr = &ch;
char ptr; ptr = *ch;