| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How do I initialize a pointer to a function? | | 2 |
| Explain in detail how strset (string handling function
works )pls explain it with an example. | | 1 |
| How the processor registers can be used in C ? | HP | 4 |
| AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST? | HCL | 9 |
| palindrome for strings and numbers----Can anybody do the
prog? | TCS | 5 |
| WRITE A PROGRAM TO FIND A REVERSE OF TWO NO | | 5 |
| Which of the following about automatic variables within a
function is correct ?
a.its type must be declared before using the variable
b.they are local
c.they are not initialised to zero
d.they are global.
| TCS | 3 |
| Why doesn't the code "a[i] = i++;" work? | | 2 |
| what's the o/p
int main(int n, char *argv[])
{
char *s= *++argv;
puts(s);
exit(0);
}
| Motorola | 1 |
| sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2;
Find the value of x? | Subex | 1 |
| 4.A function 'q' that accepts a pointer to a character as
argument and returns a pointer to an array of integer can
be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above
| Accenture | 4 |
| Can u return two values using return keyword? If yes, how?
If no, why? | | 6 |
| Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?
| | 1 |
| how to find out the reverse number of a digit if it is
input through the keyboard? | | 1 |
| what is the difference between
const char *p, char const *p, const char* const p
| Accenture | 3 |
| Program to find the absolute value of given integer using
Conditional Operators | N-Tech | 2 |
| which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
| TCS | 2 |
| why TCS selected more student in the software field from
all institution. | TCS | 3 |
| How can I set an array's size at run time? | | 7 |
| who is the founder of c | HP | 7 |
| |
| For more C Interview Questions Click Here |