edited by
377 views
0 votes
0 votes
char c = 'Z';
char a[] = "Hello world";

char *ptr1 = &c;
char *ptr2 = a;     
char *ptr3 = &a[0]; 
char *ptr4 = &a[6]; 
char *ptr5 = a + 6; 

Can someone explain this...

edited by

Please log in or register to answer this question.

Related questions

3 votes
3 votes
3 answers
1
1 votes
1 votes
3 answers
2
Ram Swaroop asked Dec 18, 2018
393 views
Which operator has higher priority between *and / in any expression how to evaluate them
0 votes
0 votes
0 answers
3
shiva0 asked Jan 19, 2019
449 views
int main(){ int a=2,b=2,c=2; printf("%d",a==b==c); return 0;}what is the output??? and what will be done during executioncan anyone explain this……...