1.4 Given the code segment:
char a[] = “abc”, *p;
Which of the following assigns the starting address of the string “abc” to p?
A) p = a;
B) p = &a;
C) p = *a;
D) *p = a;
Given the code segment
July 5, 2021 in C and CPP
July 5, 2021 in C and CPP
1.4 Given the code segment:
char a[] = “abc”, *p;
Which of the following assigns the starting address of the string “abc” to p?
A) p = a;
B) p = &a;
C) p = *a;
D) *p = a;