Placement Papers: Sasken Communication India
Doorsteptutor material for competitive exams is prepared by world's top subject experts: get questions, notes, tests, video lectures and more- for all subjects of your exam.
The text consists of two parts
- C test
- CSE01 Test Duration: 1hr
Questions
- C test-10 questions-Some questions were as follows, remember only a few.
- What is the parameter passing mechanism to Macros Called?
- void func (int x, int y) {x = 3; y = 2;} main () {int i; func (i, i) ; print (i) ;} If the output must be 2 what is the parameter passing mechanism called?
- which of the following code will swap the two numbers? -3 choices was given
- which of the following is illegal for the program? main () {char const ⚹ p = ‘p’ }
- 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) ;}
- which of the following code swaps the two numbers. 4 choices were given
- 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.
- 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.