# Amazon Technical Paper 1

## 15 Questions MCQ Test Placement Papers - Technical & HR Questions | Amazon Technical Paper 1

Description
This mock test of Amazon Technical Paper 1 for Quant helps you for every Quant entrance exam. This contains 15 Multiple Choice Questions for Quant Amazon Technical Paper 1 (mcq) to study with solutions a complete question bank. The solved questions answers in this Amazon Technical Paper 1 quiz give you a good mix of easy questions and tough questions. Quant students definitely take this Amazon Technical Paper 1 exercise for a better result in the exam. You can find other Amazon Technical Paper 1 extra questions, long questions & short questions for Quant on EduRev as well by searching above.
QUESTION: 1

Solution:
QUESTION: 2

Solution:
QUESTION: 3

### Is the following statement a declaration/definition. Find what does it mean?  int (*x);

Solution:
QUESTION: 4

What is the output for the program given below

typedef enum errorType{warning, error, exception,}error;

main()

{

error g1;

g1=1;

printf("%d",g1);

}

Solution:
*Answer can only contain numeric values
QUESTION: 5

What is the output for the program given below

typedef struct error{int warning, error, exception;}error;

main()

{

error g1;

g1.error =1;

printf("%d",g1.error);

}

Solution:
QUESTION: 6

What is the output for the program given below

Solution:
QUESTION: 7

Declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

Solution:
QUESTION: 8

Is there any difference between the two declarations,

1. int foo(int *arr[]) and

2. int foo(int *arr)

Solution:
QUESTION: 9

Is the following code legal?

struct a

{

int x;

struct a b;

}

Solution:
QUESTION: 10

Is the following code legal?

void main()

{

typedef struct a aType;

aType someVariable;

struct a

{

int x;

aType *b;

};

}

Solution:
*Answer can only contain numeric values
QUESTION: 11

Which version do you prefer of the following two,

1) printf(%s, str);      // or the more curt one

2) printf(str);

Solution:
QUESTION: 12

Find the output.

main()

{

char a="HELL";

printf("%s",a);

}

Solution:
QUESTION: 13

Printf can be implemented by using  __________ list.

Solution:
QUESTION: 14

The command which gives the  device of our system

Solution:
QUESTION: 15

when the system starts which will execute?

Solution: