Explain the process of converting a Tree into a Binary Tree.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0

6 Answers   Qualcomm,


24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?

2 Answers  


What are the different types of control structures in programming?

0 Answers  


What is the meaning of && in c?

0 Answers  


How many keywords are there in c?

0 Answers  






cavium networks written test pattern ..

0 Answers   Cavium Networks,


how many times of error occur in C

11 Answers  


What is the best way of making my program efficient?

0 Answers  


What is the difference between struct and union in C?

1 Answers  


whitch value return void main?

11 Answers  


2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);

9 Answers   HCL, Tech Mahindra,


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.

0 Answers   Amazon,


Categories