Elearning , Interview Questions And Answers

Google

i) compiler error; ii) s; iii) susan; iv) 5; Ans: iii) 6) i) const * int p; ii) int const *p; iii) const int *p; Question : which of the following is same. a)i) and ii) b)i),ii) and iii) c)ii) and iii) d)none of the above. 7) i) (*ptr)++; ii) *ptr+=1; iii) *ptr++; Question: which of the folowing is same. a)i) and ii) b)i),ii) and iii) c)ii) and iii) d)none of the above. 8) a)for(int i=0; i<50 ;i++) for( int j=0; j<100; j++) a[i][j]=100; b)for(int i=0; i<100 ;i++) for( int j=0; j<50; j++) a[j][i]=100;