Elearning , Interview Questions And Answers

Google

char const *p='p'; } Freshersworld.com 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} } Freshersworld.com int ** arr=a; print(arr); arr++; print(arr); } f) which of the following code swaps 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 - don't remember the questions. INTERVIEW In the interview, they asked about Stacks, Queues, Linked lists, Binary Trees. Few questions I remember are: 1) If u have a linked list library, how do u design stack and queue using it; write pseudocode. 2) What are static variables and functions?