|
main()
{
char const *p='p';
}
1)p++ 2) *p++ 3)(*p)++ 4) all
e) what is the output of the following program
void print(int ** arr)
{
print("0 %f, 1 %f, 2 %f ",arr[0][0],arr[0][1],arr[0][2]);
}
main()
{
int a[][]={ {1,2,3},
{4,5,6}
}
int ** arr=a;
print(arr);
arr++;
print(arr);
}
f) which of the following code swapps the two,numbers.
- 4 choices were given
g) if the string " this is a " is present in the code of a function such as 'void
func(void)' where
will the variable stored in the memory.
a) in the stack b) heap c) code or text segment as per implementation d)
created when
func is called, stored in function stack space and destroyed as it goes out .
2) CSE01-15 questions
In this section there was question from LD-gates, JK flip flop, sampling rate
and few other
then there was a few from OS - i dont remember the questions.
COMPANY NAME : SASKEN
------------------------------------------------------------
DATE OF TEST : 10 Aug 2003
------------------------------------------------------------
PLACE OF TEST:
------------------------------------------------------------
MODE
: Off-Campus
|
|