Right Place For Right PersonTM |
Sponsored Ads |
|
C Interview Questions And Answers( Objective and Subjective)( NEW ) C Interview Questions And Answers C Objective Interview Questions And Answers(10) C Subjective Interview Questions And Answers(100) C syntax, semantics and simple programming questions(61) C Aptitude Questions(179) Objectives C Aptitude Questions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 C Aptitude Questions Questions
141 Answer: Explanation: Questions
142 Answer: 16 16 16 Explanation: Questions
143 sizeof(p) = 2, sizeof(*p) =
1, strlen(p) = 4 Explanation: sizeof(*p) => sizeof(char) => 1 Similarly, When sizeof operator is applied to an array it returns the sizeof the array and it is not the same as the sizeof the pointer variable. Here the sizeof(a) where a is the character array and the size of the array is 5 because the space necessary for the terminating NULL character should also be taken into account.
Questions
144 Explanation: Questions
145 Answer: Questions
146 1 1 1 1 2 4 2 4 3 7 3 7 4 2 4 2 5 5 5 5 6 8 6 8 7 3 7 3 8 6 8 6 9 9 9 9 Explanation: *(*(p+i)+j) is equivalent to p[i][j].
Questions
147 Answer: x=10 y=8 Explanation: Inside main(), void swap(); means that swap is a function that may take any number of arguments (not no arguments) and returns nothing. So this doesn’t issue a compiler error by the call swap(&x,&y); that has two arguments. This convention is historically due to pre-ANSI style (referred to as Kernighan and Ritchie style) style of function declaration. In that style, the swap function will be defined as follows, void swap() int *a, int *b { *a ^= *b, *b ^= *a, *a ^= *b; } where the arguments follow the (). So naturally the declaration for swap will look like, void swap() which means the swap can take any number of arguments. Questions
148 Answer: 1 1 Explanation: Questions
149 Answer: 2 1 Explanation: Questions
150 Answer: Explanation: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Interview Questions And Answers
Struts interview questions and answers (Subjective) 500 Java Objective Questions and Answer Core Java Objective Questions And Answers Core Java Subjective Questions And Answers Core Java Interview Questions And Answers Core Java Interview Questions and Answers (Subjective) Core Java Interview Questions and Answers( Objective) 50 Servlet interview questions 155 Java Interview Questions EJB Interview Questions and Answers(Subjective) R4R,JSP Interview Questions and Answer(Subjective) R4R,Java Servlets Interview Questions and Answers(Subjective) Core Java Subjective ,Objective and Interview Questions And Answers 275 Core java interview questions Java Objective Questions and Answer Java Architect Interview Questions Applet Interview Questions and Answers Core Java example Servlet Objective Questions And Answers Servlet Subjective Questions And Answers Servlet Interview Questions And Answers JSP Objective Questions And Answers JSP Subjective Questions And Answers JSP Interview Questions And Answers | ||
| Comments: Give Your Comments: Advertiser PRIVACY POLICY ||User PRIVACY POLICY || R4R Group Srvices |