| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is link list?
| | 2 |
| Write a program to remove the C comments(/* */) and C++
comments(//) from a file.
The file should be declared in command line. | Subex | 2 |
| Add 2 64 bit numbers on a 32 bit machine | NetApp | 3 |
| write an algorithm which can find the largest number among
the given list using binary search ...............
this was asked in the interview | Satyam | 2 |
| what is the output of the following program and explain the
answer
#include<stdio.h>
exp()
{
main(5)
}
main(int a)
{
printf("%d",a);
return;
} | Satyam | 3 |
| find largest element in array w/o using sorting techniques. | Zycus-Infotech | 2 |
| main()
{
int a = 65;
printf(“%d %o %x”,a,a,a);
}
Output
65 101 41
Please explain me.How it is coming like that?
| Excel | 2 |
| struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator?? | Verifone | 8 |
| The differences between Windows XP and Windows Visa
| HCL | 7 |
| proc() {
static i=10;
printf("%d",i);
}
If this proc() is called second time, what is the output?
| Hughes | 5 |
| pick out the odd one out of the following
a.malloc()
b.calloc()
c.free()
d.realloc()
| TCS | 1 |
| how to connect oracle in C/C++. | | 2 |
| how to display 2-D array elements in spiral | | 1 |
| What are the commands should be given before weiting C
Program i.e, Cd.. like | Infonet | 3 |
| Consider a language that does not have arrays but does have
stacks as a data type.and PUSH POP..are all defined .Show
how a one dimensional array can be implemented by using two
stacks. | Google | 3 |
| what is calloc and malloc? | | 1 |
| how many times of error occur in C | | 7 |
| 1,4,8,13,21,30,36,45,54,63,73,?,?. | Franklin-Templeton | 5 |
| What character terminates all strings composed of character
arrays?
1) 0
2) .
3) END
| | 3 |
| size maximum allocated by calloc() | DELL | 1 |
| |
| For more C Interview Questions Click Here |