Quant Exam  >  Quant Tests  >  Amazon Technical Paper 1 - Quant MCQ

Amazon Technical Paper 1 - Quant MCQ


Test Description

15 Questions MCQ Test - Amazon Technical Paper 1

Amazon Technical Paper 1 for Quant 2024 is part of Quant preparation. The Amazon Technical Paper 1 questions and answers have been prepared according to the Quant exam syllabus.The Amazon Technical Paper 1 MCQs are made for Quant 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Amazon Technical Paper 1 below.
Solutions of Amazon Technical Paper 1 questions in English are available as part of our course for Quant & Amazon Technical Paper 1 solutions in Hindi for Quant course. Download more important topics, notes, lectures and mock test series for Quant Exam by signing up for free. Attempt Amazon Technical Paper 1 | 15 questions in 30 minutes | Mock test for Quant preparation | Free important questions MCQ to study for Quant Exam | Download free PDF with solutions
Amazon Technical Paper 1 - Question 1

In the following program add a  statement in the function  fun () such that the address of a gets stored in j.

 


Amazon Technical Paper 1 - Question 2

What are the following notations of defining functions known as?


1 Crore+ students have signed up on EduRev. Have you? Download the App
Amazon Technical Paper 1 - Question 3

Is the following statement a declaration/definition. Find what does it mean?

 int (*x)[10];


Amazon Technical Paper 1 - 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);

}


*Answer can only contain numeric values
Amazon Technical Paper 1 - 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);

}


Amazon Technical Paper 1 - Question 6

What is the output for the program given below


Amazon Technical Paper 1 - Question 7

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


Amazon Technical Paper 1 - Question 8

Is there any difference between the two declarations,

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

2. int foo(int *arr[2])


Amazon Technical Paper 1 - Question 9

Is the following code legal?

struct a

    {

int x;

struct a b;

    }


Amazon Technical Paper 1 - Question 10

Is the following code legal?

void main()

{

typedef struct a aType;

aType someVariable;

struct a

{

int x;

aType *b;

};

}


*Answer can only contain numeric values
Amazon Technical Paper 1 - Question 11

Which version do you prefer of the following two,

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

2) printf(str);


Amazon Technical Paper 1 - Question 12

Find the output.

  main()

{         

char a[4]="HELL";

printf("%s",a);

}


Amazon Technical Paper 1 - Question 13

Printf can be implemented by using  __________ list.


Amazon Technical Paper 1 - Question 14

The command which gives the  device of our system


Amazon Technical Paper 1 - Question 15

when the system starts which will execute?


Information about Amazon Technical Paper 1 Page
In this test you can find the Exam questions for Amazon Technical Paper 1 solved & explained in the simplest way possible. Besides giving Questions and answers for Amazon Technical Paper 1, EduRev gives you an ample number of Online tests for practice
Download as PDF