Mastek Java Questions: Matrix Technical Questions
Download PDF of This Page (Size: 168K) ↧
Examrace Placement Series prepares you for the toughest placement exams to top companies.
-
output of the following code: #define M 5 + 5 void main () { printf (%d, M * M); }
-
* p + + increment p or what it points to?
-
Find error with a given code: { scanf ( “&” a) }
-
syntax of free func.
-
give output: Void main () { int x = 0, y = 1 (x | printf (printing x\n); ) (y | printf (printing y\n); ); }
-
write one major advantage & disadvantage of recursion.
-
what is hashing?
-
give output: Main () { int j = 5; printf (%d %d %d, + + j, j, j + + ); }
-
give output: Main () { int static i = 5, j = 10; for (i = 1; i ⇐ 3; i + + ) { int j = 10; j = j + 1; printf (%d %d %d j, j, j); } printf (%d, i); }
-
why printf (%d, A'); will not return the value 1?
-
preorder and postorder traversal of a binary tree is given, construct the binary tree.
-
a binary tree is given, draw postorder traversal.
-
what is the difference between char const *, char * const?
-
correction of a given code
-
write a macro function to return the maximum of two numbers.
-
how a pointer to a function is called & declared?
-
write a program for double linked list & delete the last node.
-
write a program for binary search of N numbers.
-
program related to string.