| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| which one is not preprocessor directive
a)#if b)#elif c)#undef d)#pragma
| Wipro | 13 |
| what is the use of pointers | | 5 |
| Can we include one C program into another C program if yes how? | Infosys | 4 |
| What is structure packing ? | HP | 1 |
| how to connect oracle in C/C++. | | 2 |
| write a string copy function routine? | | 1 |
| Difference Between embedded software and soft ware? | Bosch | 1 |
| without using arithmatic operator solve which number is
greater?????????? | | 1 |
| differentiate between
const char *a;
char *const a; and
char const *a;
| HCL | 1 |
| How can I prevent other programmers from violating
encapsulation by seeing the private parts of my class? | | 1 |
| what is dangling pointer? | LG-Soft | 1 |
| Write a program for the following series:
1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms | Convex-Digital | 4 |
| difference between function & structure | Verizon | 5 |
| write a function which accept two numbers from main() and
interchange them using pointers? | | 3 |
| char ch=10;printf("%d",ch);what is the output | Accenture | 11 |
| what does the following function print?
func(int i)
{
if(i%2)return 0;
eale return 1;
}
main()
{
int =3;
i=func(i);
i=func(i);
printf("%d",i);}
| TCS | 8 |
| #define d 10+10
main()
{
printf("%d",d*d);
} | | 3 |
| Total of how many functions are available in c? | | 2 |
| What is alloca() and why is its use discouraged? | | 1 |
| Please list all the unary and binary operators in C. | | 1 |
| |
| For more C Interview Questions Click Here |