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 23020

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 11870

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 24510

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

5 21124

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 15052

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

5 20408

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.

763

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

691

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

1 1039

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

706

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.

693

What are the differences between new and malloc in C?

641

Post New Amazon C Interview Questions


Amazon C Interview Questions


Un-Answered Questions

Explain open dataset in sap abap?

835


Did you ever worked with B.A's and when?

1663


Is it possible to rename the WordPress folder?

113


What is difference between assembly and namespace?

507


What is the largest ram?

565






When does the result for an sql statement return null?

533


Differentiate between split(), sub(), and subn() methods of the re module?

529


Does any body has ORACLE Certification Dumps or Materials on 9i DBA, 10G DBA, Internet Application Developer, OCP 8i to 10g DBA Upgrade, Oracle 11i if any body have it, please kindly drop an email to: taruni_2k8@yahoo.com

1762


How to test a sql query in winrunner? Without using database checkpoints?

435


Write the code to sort an array in numpy by the nth column?

144


How do you automate reports using tableau software?

257


How to troubleshoot and overcome such issues?

602


What is .cs file in c#?

544


Is there any way to append a text message to all out bound email for exchange 2003?

575


what is c dot

1533