Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z




Amazon C Interview Questions
Questions Answers Views Company eMail

How would you print out the data in a binary tree, level by level, starting at the top?

6 18606

Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.

1 7393

if the address of a[1,1] and a[2,1] are 1000 and 1010 respectively and each occupies 2 bytes then the array has been stored in what order?

4 14605

What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

5 15939

write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

1 11310





main() { intx=2,y=6,z=6; x=y=z; printf(%d",x) }

5 13682

Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

26

How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

19

What is a C array and illustrate the how is it different from a list.

24

What is the time and space complexities of merge sort and when is it preferred over quick sort?

23

Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

26

What are the differences between new and malloc in C?

15

Post New Amazon C Interview Questions




Amazon C Interview Questions





Un-Answered Questions

1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2180


Hi,iam a diploma in electrical engineering.rtd from indian air force in apr 2007.prsently working in reliance next link as a network maintenance engineer since 2007,can i get a job in motherson sumi.

1234


What is the company's desired pre-money valuation? - Venture Capitalists

487


Explain the 'price control indicator?

10


what are the important architecture components of SSRS?

1






How data or file is read in Hadoop HDFS?

1


is it possible for different brand of H.V transformers to run or operate in parallel to each other? if so how much disturbance can this affact the H.V bus bar?

1007


How to find methods or attributes of an object?

19


How would I begin on conveying forms utilizing blue prism?

1


How to identify the difference between the kernel object and user object?

1461


Difference between object and reference?

6


How to write test cases for "hotel reservatrion" for ms word? Thanks a lot!

20


hi frn iam Ashish frm nepal..ihave got my bank balance in my own name incase of my father or mother.coz they are in Israel and they havent open their account here in nepal...my interview is in 29 nov....so what to do for this problem..if this question is asked than what shall i do?plz reply soon....

991


What type of questions are asked in Tetra pak onlinr test

457


how many specifications are there in rpg/400? What are they?

17