| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| can i know the source code for reversing a linked list with
out using a temporary variable?
| Honeywell | 6 |
| write an algorithm which can find the largest number among
the given list using binary search ...............
this was asked in the interview | Satyam | 2 |
| main()
{
int arr[5]={23,67};
printf("%d%d%d",arr[2],arr[3],arr[4]);
} | TCS | 6 |
| 1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<= | Siemens | 10 |
| Can you think of a way when a program crashed before
reaching main? If yes how? | | 2 |
| which types of data structure will i use to convert infix to
post fix??? | IIT | 3 |
| What is the difference between char a[] = "string"; and
char *p = "string"; ? | Honeywell | 11 |
| C passes By value or By reference? | Geometric-Software | 5 |
| How to access or modify the const variable in c ? | HP | 4 |
| Can u return two values using return keyword? If yes, how?
If no, why? | | 7 |
| What is function pointer and where we will use it | NetApp | 1 |
| What is volatile | | 2 |
| what is the difference between getch() and getchar()? | | 5 |
| how to find string length wihtout using c function? | | 4 |
| what is the different between if-else and switch statment
(other than syntax) | CTS | 9 |
| Is the following code legal?
struct a
{
int x;
struct a b;
}
| | 3 |
| Determine if a number is a power of 2 at O(1). | | 1 |
| Difference Between embedded software and soft ware? | Bosch | 1 |
| code snippet for creating a pyramids triangle
ex
1
2 2
3 3 3 | | 3 |
| Give me basis knowledge of c , c++... | | 4 |
| |
| For more C Interview Questions Click Here |