| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| write a C code
to reverse a string using a recursive function, without
swapping or using an extra memory.
| Motorola | 2 |
| which header file contains main() function in c? | TCS | 3 |
| two variables are added answer is stored on not for third
variable how it is possible? | | 3 |
| Why does not use getgh(); and <conio.h> in c language. | Elofic | 2 |
| WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
| | 6 |
| what is mallloc()?how it works? | Excel | 3 |
| what is const volatile? | | 1 |
| where does malloc() function get the memory? | | 1 |
| What's the difference between a linked list and an array?
| | 11 |
| 4.weight conversion:
Write a program that will read weight in pounds and convert
it into grams.print both the original weight and the
converted value.There are 454 grams in a pound.design and
carry out a test plan for this program.
| Wipro | 1 |
| Write code for finding depth of tree | Adobe | 1 |
| Explain the differences between public, protected, private
and internal. | | 1 |
| explain about storage of union elements. | Bosch | 2 |
| How many types of linked lists what are they?
How many types of data structures? | BSNL | 5 |
| How to reverse a string using a recursive function, with
swapping? | | 4 |
| f=(x>y)?x:y
a) f points to max of x and y
b) f points to min of x and y
c)error
| HCL | 4 |
| What is the output for the program given below
typedef enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf("%d",g1);
}
| ADITI | 3 |
| do ne body have any idea about the salary for the we r going
to have interview.
yup .. u got it right ..i m talking abt NIC. | | 1 |
| what is the advantage of function pointer | TCS | 10 |
| Program to find the value of e raised to power x using while
loop | N-Tech | 3 |
| |
| For more C Interview Questions Click Here |