Technical Questions asked in Flextronics

  1. Memory is allocated from_______________for each and every malloc function call
    1. Stack
    2. Heap
    3. Static memory area
    4. Cache
    Answer: Option B.
  2. When is a static variable initialized?
    1. Every time the function containing it is called.
    2. When it is globally declared.
    3. Only when declared within a function.
    4. Only the first time the function containing it is called
    Answer:  Option D.

Complete Test Series for Wipro
Bag your Dream Job Today Comprehensive Online Tests Inclusive Prep for All Placement Exams Acquire Essential Domain Skills

  1. What would be the output of following code?
    int main(int argc,char **argv)
    int iVar=0, iCnt, aiArr[] = {56,23,4,89,-200,34};
    for(iCnt = 1; iCnt <6; iCnt++)
    if(aiArr[iCnt] < aiArr[iVar])
    iVar = iCnt;
    return 0;
    1. 4
    2. 89
    3. 3
    4. -200
    Answer: Option A.
  2. Which of the following is not a type of constructor?
    1. Copy constructor
    2. Friend constructor
    3. Default constructor
    4. Parameterized constructor
    Answer: Option B.
  3. Under which of the following Big O notation it is suggested to review design of algorithm?
    1. O(n2)
    2. O(nlogn)
    3. O(n)
    4. O(2n)
    Answer: Option D.
  4. Which of the following is true about linked lists?
    1. Primary education
    2. Intermediate education
    3. Higher education
    4. Entire education system
    Answer: Option C.
    The entire passage is talking about positive and the negative aspects of higher education in India, and the ways to improve it.

Complete Campus Placement Training Course
Video Lectures Online Tests E-Books & Assignments