| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is the difference between char a[] = "string"; and
char *p = "string"; ? | Honeywell | 11 |
| i want the code for printing the output as follows
4 4
3 3
2 2
1 1
0
1 1
2 2
3 3
4 4 | | 1 |
| what is the difference between #include<stdio.h> and
#include "stdio.h" ? | | 2 |
| What is the real difference between arrays and pointers? | | 11 |
| what is data structure
| | 4 |
| You are given a string which contains some special
characters. You also have set of special characters. You are
given other string (call it as pattern string). Your job is
to write a program to replace each special characters in
given string by pattern string. You are not allowed to
create new resulting string. You need to allocate some new
memory to given existing string but constraint is you can
only allocate memory one time. Allocate memory exactly what
you need not more not less. | Microsoft | 2 |
| we all know about the function overloading concept used in
C++ and we all learnt abt that.... but that concept is
already came in C in a very smaller propotion ... my
question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION
OVERLOADING IS USED in C language????????????? | Google | 2 |
| how to print value of e(exp1)up to required no of digits
after decimal? | | 1 |
| will u give me old quesrion papers for aptitude for L & t
info tech? | L&T | 1 |
| write a program for even numbers? | | 8 |
| what is meant by c | | 4 |
| C program code
int zap(int n)
{
if(n<=1)then zap=1;
else zap=zap(n-3)+zap(n-1);
}
then the call zap(6) gives the values of zap
[a] 8 [b] 9 [c] 6 [d] 12 [e] 15
| Wipro | 4 |
| how to find that no is int or float? | | 5 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| what is the difference between getch() and getchar()? | | 5 |
| what is the size of an integer variable? | | 1 |
| a C prog to swap 2 no.s without using variables just an
array? | TCS | 4 |
| 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 |
| Is the C language is the portable language...If yes...Then
Why...and if not then what is problem so it is not a
Portable language..??? | TCS | 1 |
| what about "char *(*(*a[])())();"
| Oracle | 2 |
| |
| For more C Interview Questions Click Here |