0 votes 0 votes int main(){ int arr[3]={2,3,4}; char *p; p = (char*)arr; printf("%d",*p); p=p+1; printf("%d",*p); return 0; } Programming in C programming-in-c programming pointers + – Ankish Gupta 3 asked Jul 22, 2018 Ankish Gupta 3 703 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Shaik Masthan commented Jul 22, 2018 reply Follow Share Yes.. If compiler follows little endian 0 votes 0 votes imnitish commented Jul 23, 2018 reply Follow Share for first printf 2 is ok but for Second why 0 plz explain 0 votes 0 votes Prateek Raghuvanshi commented Jul 23, 2018 reply Follow Share If compiler follow little endian(by default we assume)- 1 votes 1 votes Please log in or register to add a comment.