Software Development Engineer Interview Questions

33,160 software development engineer interview questions shared by candidates

1. How to achieve automatic type conversion from type X to type Y? a. X can define the member function operator Y() b. a) or b) can be used c. Y can define the constructor Y(const X&) d. none of the above 2. class Coordinate{ int x; int y; public: Coordinate(int a=0, int b=0) { x=a; y=b; }; }; What are the values for the following object: Coordinate point(10); a. x=10,y=0 b. x=0,y=10 c. x=10,y=10 d. x=0,y=0 3. What type of argument can the following function take : Void foo(); a. any number or type of arguments b. a character c. an integer d. no an integer argument of any type 4. Consider the following function declarations in a header file: void doit(char *, int); int doit(char *) ; float doit(float, float) ; Which of the following declarations cannot follow in the same header: a. void doit(int, char *); b. int doit(int) ; c. float doit(char *) ; d. int doit(int, int) ;
avatar

Software Development Engineer

Interviewed at Amadeus

4
Jul 18, 2013

1. How to achieve automatic type conversion from type X to type Y? a. X can define the member function operator Y() b. a) or b) can be used c. Y can define the constructor Y(const X&) d. none of the above 2. class Coordinate{ int x; int y; public: Coordinate(int a=0, int b=0) { x=a; y=b; }; }; What are the values for the following object: Coordinate point(10); a. x=10,y=0 b. x=0,y=10 c. x=10,y=10 d. x=0,y=0 3. What type of argument can the following function take : Void foo(); a. any number or type of arguments b. a character c. an integer d. no an integer argument of any type 4. Consider the following function declarations in a header file: void doit(char *, int); int doit(char *) ; float doit(float, float) ; Which of the following declarations cannot follow in the same header: a. void doit(int, char *); b. int doit(int) ; c. float doit(char *) ; d. int doit(int, int) ;

Was asked to implement a method to find the middle value of a linked list with using the standard provided functions of a linked list Also asked to find a number repeated sequentially the most number of times in an integer array. Then provide test cases on function
avatar

Software Development Engineer In Test

Interviewed at Audible

3.5
Sep 18, 2013

Was asked to implement a method to find the middle value of a linked list with using the standard provided functions of a linked list Also asked to find a number repeated sequentially the most number of times in an integer array. Then provide test cases on function

1. OA1 consists 2 parts, the first one is answering questions and the second one is debugging. 2. OA2 is two coding problems. 3. Phone interview asked me to talk about a recent project and a coding problem, writing a function to search for a contact.
avatar

Software Development Engineer Internship

Interviewed at Amazon

3.5
Aug 22, 2017

1. OA1 consists 2 parts, the first one is answering questions and the second one is debugging. 2. OA2 is two coding problems. 3. Phone interview asked me to talk about a recent project and a coding problem, writing a function to search for a contact.

Write a function, which takes input, two sets of integers, and moves a integer from one set to another set in a way that average of both sets increases. It returns true if it successfully moved a element, false otherwise.
avatar

Software Development Engineer

Interviewed at Amazon

3.5
May 9, 2016

Write a function, which takes input, two sets of integers, and moves a integer from one set to another set in a way that average of both sets increases. It returns true if it successfully moved a element, false otherwise.

Viewing 311 - 320 interview questions

Glassdoor has 33,160 interview questions and reports from Software development engineer interviews. Prepare for your interview. Get hired. Love your job.