What is endianness and write a C program to determine endianness
Anonymous
Int a=2; Char* p=&a; if(*p==2) little endian Else big endian Explanation: 2's binary representation : 0000 0000....0000 0010 Little endian : right to left and character pointer display 1'st 8 bits, result will be 2 Big endian: left to right and character pointer displays 1st8 bits, redult will be 0
Check out your Company Bowl for anonymous work chats.