| Other C Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| while running a program, i got the msg that press return key
to exit.what that mean in C as there are no such options as
far i know. |
Tcs | 1 |
| Without using main fn and semicolon,print remainder for a
given number in C language |
| 1 |
| write a c program to find the roots of a quadratic equation
ax2 + bx + c = 0
|
CSC | 8 |
| which one is not preprocessor directive
a)#if b)#elif c)#undef d)#pragma
|
Wipro | 16 |
| Program to find the absolute value of given integer using
Conditional Operators |
N-Tech | 5 |
| write a program for fibonaci series by using while loop in c? |
| 2 |
| where can function pointers be used? |
| 2 |
| Write a C program to check a number even or odd, without using
any relational, arithmetic operator and any loops. |
| 1 |
| how does a general function , that accepts an array as a
parameter, "knows" the size of the array ?
How should it define it parameters list ? |
TCS | 2 |
| simple program for virtual function? |
| 1 |
| value = 0xabcd;
for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) {
foo();
if (loop & 1)
value >>= 1;
}
how many times is foo() executed? |
Google | 6 |
| out put of printf(“%d”,printf(ram)); |
| 5 |
| |
| For more C Interview Questions Click Here |