| 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 purpose of Scanf Print, getchar, putchar,
function? | | 2 |
| what is available in C language but not in C++? | | 1 |
| how many times of error occur in C | | 7 |
| How can I invoke another program from within a C program? | | 6 |
| write program on arrays
| GE | 2 |
| Suppose I want to write a function that takes a generic
pointer as an argument and I want to simulate passing it by
reference. Can I give the formal parameter type void **, and
do something like this?
void f(void **);
double *dp;
f((void **)&dp);
| | 1 |
| Write a program in c to input a 5 digit number and print it
in words. | | 1 |
| void swap(int a,int b)
{
a=a+b;
b=a-b;
a=a-b;
}
in this code always gives the same result for all case | TCS | 7 |
| Explain following declaration
int *P(void);
and
int (*p)(char *a);
| | 2 |
| what are the various memory handling mechanisms in C ? | HP | 3 |
| To what value do nonglobal variables default?
1) auto
2) register
3) static
| | 4 |
| which of the function operator cannot be over loaded
a) <=
b)?:
c)==
d)*
| HCL | 7 |
| what is use of loop? | Infosys | 6 |
| is compiler do read the data line by line or not.
?? | LG-Soft | 3 |
| Why doesn't the code "int a = 1000, b = 1000;
long int c = a * b;" work? | | 6 |
| simple c program for 12345 convert 54321 with out using string | | 5 |
| what is the maximum limit of row and column of a matrix in c
programming. in linux . | | 1 |
| how to print a statement in c without use of console
statement ,with the help of if statement it should print
| Satyam | 2 |
| How to convert a binary number to Hexa decimal number??
(Note:Do not convert it into binary and to Hexadecimal) | Subex | 1 |
| |
| For more C Interview Questions Click Here |