| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Reverse a string word by word?? | | 6 |
| how we can make 3d venturing graphics on outer interface | Microsoft | 1 |
| what type of language is C? | Microsoft | 2 |
| Whats wrong with the following function
char *string()
{
char *text[20];
strcpy(text,"Hello world");
return text;
} | Qualcomm | 3 |
| pointer_variable=(typecasting
datatype*)malloc(sizeof(datatype));
This is the syntax for malloc?Please explain this,how it
work with an example? | Excel | 2 |
| what is the use of pointers | | 5 |
| What is the memory allocated by the following definition ?
int (*x)(); | ADITI | 2 |
| what's the return value of malloc() | | 8 |
| what is diff b/w huge & far & near pointer?? | HCL | 1 |
| Define function ?Explain about arguments? | Geometric-Software | 2 |
| If 4 digits number is input through the keyboard, Write a
program to calculate sum of its 1st & 4th digit. | | 4 |
| when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none | HCL | 4 |
| What is the difference between null pointer and void pointer | CTS | 3 |
| What should be keep precautions while using the recursion
method? | | 1 |
| write a C code
to reverse a string using a recursive function, without
swapping or using an extra memory.
| Motorola | 2 |
| what is the output of below pgm?
void main()
{
int i=0;
if(i)
printf("pass");
else
printf("fail");
} | | 3 |
| a C prog to swap 2 no.s without using variables just an
array? | TCS | 4 |
| what is the difference between arrays and linked list | Tech-Mahindra | 15 |
| what is the maximum limit of row and column of a matrix in c
programming. in linux . | | 1 |
| What is the meaning When we write "#include" what is # and
what does include does there??? | HCL | 11 |
| |
| For more C Interview Questions Click Here |