ans : File
30. ASCII problem
i=..
ans : 6
31 .
32. what is the o/p
printf(" Hello \o is the world ");
Ans : Hello is the world.
33. Clarifying the concept addresses used over array ; ie changing
the address of a base element produces what error?
34. child process -- fork
child shell -- sh
35. Answer are lex 7 yacc & man read these things in UNIX
36. What is
int *p(char (*s)[])
Ans : p is a function which is returning a pointer to integer
which takes arguments as pointer to array of characters.
10 qs were from s/w and 10 from h/w and
rest 55 qs were from Aptitude.
1. Inorder and preorder trees (expressions) are given and postorder tree (
expression) is to be found out.
2. int v,u;
while(v != 0)
{
t = v % u;
v = u;
u = t;
}
find the time complexity of the above program.
3. x is passed by reference, y passed by value.
x = 3, y = 2;
foo(x, y)
var integer x, y;
{
x = x + 2;
y = y + 3;
}
main()
{
x = 5;
y = 5;
|
|