Adobe Placement Paper - 1

C paper:

1. What is the difference between char a[ ]="string" and char *a="string"

2. What is wrong with the code? The code was for conversion from celsius to fahrenheit : degf =5/9*(c+32)
In code this line was wrong as we want 5/9 and that to be multiplied with bracket result. But here 9 will be first multiplied with bracket result.

3. What are data breakpoints? Give two scenarios where we make the use of this

4. What do you mean by bit fields? Give example

5. Write the function for changing a number from hexadecimal to integer htoi(s

6. Compare two binary trees they are same or not.

7. You have n computers and [ca, cb] means a is connected to b and this connectivity is symmetric and transitive. Then write a program which checks that all computers are interconnected and talk two each other

8. Write a program to find depth of tree program. We were given the structure of the node using that we need to write the code.

9. In binary search we have two comparisons one for greater than and other for less than the mid value. Optimize so that we need to check only once

10. Question was some what like we need to write the function so that we get the two dimensional array and memory is assigned to it using malloc function. Don't remember the Question exactly. But this was the only Question in proper language