0 votes 0 votes How value to "*ptr" is being assigned ? HeadShot asked Nov 12, 2018 HeadShot 438 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Mk Utkarsh commented Nov 12, 2018 reply Follow Share after char *ptr = (char *) (&arr + 1); *ptr is pointing to next address just after 60, 0 votes 0 votes HeadShot commented Nov 12, 2018 reply Follow Share @Mk Utkarsh How and Why this happens ? can you give some other general example. 0 votes 0 votes Hemanth_13 commented Nov 12, 2018 reply Follow Share As this is a char array won't this be terminated by null character?? 0 votes 0 votes Mk Utkarsh commented Nov 12, 2018 reply Follow Share char arr[] = "xyz"; //terminated with null char char arr[3]= {'x','y','z'}; //not terminated with null char all strings are character arrays but all character arrays are not strings 0 votes 0 votes Please log in or register to add a comment.