1.  3.75

2.  Depends on compiler

3.  24

4.  3

4
Correct Answer :

24


Explanation :
No Explanation available for this question

1.  7.000000, 7

2.  Run time error

3.  7.000000, junk

4.  Varies

4
Correct Answer :

7.000000, junk


Explanation :
No Explanation available for this question

1.  No difference as space doesn’t make any difference, values of a, b, d are same in both the case

2.  Space does make a difference, values of a, b, d are different

3.  Program 1 has syntax error, program 2 is not

4.  Program 2 has syntax error, program 1 is not

4
Correct Answer :

Program 2 has syntax error, program 1 is not


Explanation :
No Explanation available for this question

1.  returns 1

2.  returns 2

3.  Varies

4.  Compile time error

4
Correct Answer :

Compile time error


Explanation :
No Explanation available for this question

1.  2

2.  True

3.  1

4.  0

4
Correct Answer :

2


Explanation :
No Explanation available for this question

1.  1 2 3 4 5

2.  Segmentation fault

3.  Compilation error

4.  Undefined behaviour

4
Correct Answer :

1 2 3 4 5


Explanation :
No Explanation available for this question

1.  i value is 1 and j value is 1

2.  i value is 0 and j value is 0

3.  i value is 1 and j value is undefined

4.  i and j value are undefined

4
Correct Answer :

i value is 1 and j value is undefined


Explanation :
No Explanation available for this question

1.  Output will be 3, 2

2.  Output will be 3, 1

3.  Output will be 6, 1

4.  Output is compiler dependent

4
Correct Answer :

Output is compiler dependent


Explanation :
No Explanation available for this question

1.  2

2.  3

3.  4

4.  1

4
Correct Answer :

4


Explanation :
No Explanation available for this question

Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python