This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Bank, GATE and NET
short int x; /*assume x is 16 bits in size*/ What is maximum number that can be printed using printf("%d\n",x);
Answer & ExplanationOption: [D]
By default short integer is signed. 1 bit is reserveed for sign i.e. only 15 bits are available.
So, the largest number will be: