| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.
| TCS | 7 |
| write a C code To reverse a linked list | Motorola | 2 |
| write a program for even numbers? | | 8 |
| tell me the full form of c? | | 2 |
| What is structure padding ? | HP | 2 |
| What is function pointer and where we will use it | NetApp | 1 |
| Program to display given 3 integers in ascending order | N-Tech | 1 |
| what are the languages used in c#? | Infosys | 1 |
| Blade logic interview question.
1st round is a written tests with 15 multiple questions
from c and c++. All are simple basic question.
Like int main ()
{
Int i=65;
Return printf(“%c”, i);
}
2nd and 3rd round is technical interview.
The position for which I was interview was core UNIX and c.
Yes it is for system programming.
The company has product name blade server. For their server
they are creating their own command for their purpose.
Example cd command.
We can implement it in a c program by using the chdir()
function.
So the question asks related to PID, fork, pipe, shared
memory, signal.
Write a program in c which will act as cp command.
| BladeLogic | 1 |
| write a own function for strstr | LG-Soft | 1 |
| what is the difference between structural,object
based,object orientd programming languages? | PanTerra | 1 |
| Write a program to write a given string in maximum
possibilities?
i.e str[5]="reddy";
i.e we can write this string in 120 ways
for that write a program | Subex | 3 |
| Write a program for deleting duplicate elements in an array | Subex | 3 |
| How the processor registers can be used in C ? | HP | 4 |
| What is the meaning When we write "#include" what is # and
what does include does there??? | HCL | 11 |
| for(i=0;i=printf("Hello");i++);
printf("Hello");
how many times how will be printed????????? | | 4 |
| which of the following statements is incorrect
a.typedef struct new{
int n1;
char n2;
} DATA;
b.typedef struct {
int n3;
char *n4;
}ICE;
c.typedef union {
int n5;
float n6;
} UDT;
d.#typedef union {
int n7;
float n8;
} TUDAT;
| TCS | 5 |
| which of the function operator cannot be over loaded
a) <=
b)?:
c)==
d)*
| HCL | 7 |
| How can I prevent other programmers from violating
encapsulation by seeing the private parts of my class? | | 1 |
| write a program to compare 2 numbers without using logical
operators? | IBM | 1 |
| |
| For more C Interview Questions Click Here |