Mascot Java Questions: iSoft Paper 2004
Download PDF of This Page (Size: 139K) ↧
Examrace Placement Series prepares you for the toughest placement exams to top companies.
In written it consists of
-
aptitute 25 Q's very easy
-
verbal 5 fill in the blanks, 5synonyms, 5 antonyms. Very easy for fill in the blanks ans is 1. d 2. d 3. d 4. a 5. d
-
Next c it contains 30 Q's plz follow the attachment because all the Q's R repeated GD: For me topic is “Is s/w professionals r paying more? It's a fact or not?” Interview: Thats all be through the Q's ____ There cutoff is 50 out of 70.
C Questions
-
a = 5, b = 3, c = a, b d = (a, b) printf (c, d) ans: c = 5, d = 3
-
e (int n) { if (n>0) { … (not clear) printf ( “%d” n); e (--n); } return } ans: 0, 1, 2, 0
-
which has no problem with pointers int * f1 () { int n; return (n) } int * f2 () { int * p; * p = 3; return p; } int * f3 () { int * p; p = malloc (); return p; } ans: No error
-
header file → contains declarations.
-
sizeof operator is executed during compile time.
-
* p + = 1 * p + + are these two same? not same.
-
func (int i) { static int count; count = count + i; } ans: 1 + 2 + 3… Counts values does not go after funtion call
-
is ( ‘a’ < ‘b’ ) true
-
char s1[20] = { “hello world” s1[5] = “\0” printf ( “%d” strlen (s1) ); printf ( “%%. %… (not clear)” s1); } ans: Bad format specifier
-
short int = 16 bits
-
4 stmt. Ans. Int float i
-
int number[3]; number[3] = 2; ans: First stmt deals with size second deals with element
-
j = 4 for (int i = 0; i<5; i + + ) { j + +; + + j; } output of j. Ans: 14
-
brace {} used in c for what ans: Convention
-
parameters in c passed by ans: Value.
-
when an array is passed it is by ans: Pointer.
-
scanf can read ans: Any data type
-
which cant be passed to subroutine. Ans: Preprocessor directive.
-
to get string of words. Ans: Gets ()
-
external variables can be accesed ans: In functions which use them.