| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| declare afunction pointer to int printf(char *)? | HCL | 1 |
| Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program
| Mascot | 4 |
| When is an interface "good"?
| | 1 |
| In the following code segment what will be the result of the
function,
value of x , value of y
{
unsigned int x=-1;
int y;
y = ~0;
if(x == y)
printf("same");
else
printf("not same");
}
a) same, MAXINT, -1
b) not same, MAXINT, -MAXINT
c) same , MAXUNIT, -1
d) same, MAXUNIT, MAXUNIT
e) not same, MAXINT, MAXUNIT
| IBM | 1 |
| What are advantages and disadvantages of recursive
calling ? | HP | 11 |
| why i join syntel? | Syntel | 12 |
| can anyone proide me reading material on
svit00ef27@yahoo.com please thanx in advance
| IBM | 1 |
| What is RAM memory? and What is ROM?Who designed one is
temparary and another is permanent?why they designed like
that?By using far pointer which type data(whether
hexadecimal)we can access? | Excel | 1 |
| What is the memory allocated by the following definition ?
int (*x)[10];
| ADITI | 3 |
| what is the advantage of software development | | 1 |
| How can I allocate arrays or structures bigger than 64K? | | 4 |
| What is the relation between # and include<stdio.h> | HCL | 3 |
| HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I
NEED AN ANSWER THAT IMPRESS THE INTERVIEWER | | 2 |
| 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 |
| write a program to generate 1st n fibonacci prime number | | 1 |
| What is the meaning When we write "#include" what is # and
what does include does there??? | HCL | 11 |
| write a function for strtok()?? | Verifone | 1 |
| how to find out the biggest element (or any other
operation) in an array which is dynamic. User need not to
mention the array size while executing. | | 2 |
| write a c programs to do multiplication of two numbers with
out using arithmatic operator ?????????? | TCS | 4 |
| which will be first in c compiling ,linking or compiling
,debugging. | Sonata | 3 |
| |
| For more C Interview Questions Click Here |