| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the difference between arrays and linked list | Tech-Mahindra | 15 |
| What are volatile variables? | | 1 |
| what is difference between array of characters and string | Accenture | 10 |
| what are the general concepts of c and c++ | | 1 |
| WHY DO WE USE A TERMINATOR IN C LANGUAGE? | | 2 |
| please give me some tips for the selection in TCS. | TCS | 3 |
| How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ? | NIIT | 1 |
| What is a class? | | 2 |
| what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
} | Infosys | 14 |
| WHAT IS THE DIFFERANCE BITWIN GETS();AND SCANF(); | | 2 |
| which one is not preprocessor directive
a)#if b)#elif c)#undef d)#pragma
| Wipro | 13 |
| how to convert binary to decimal and decimal to binary in C
lanaguage | | 4 |
| I have a function which accepts, and is supposed to
initialize,a pointer, but the pointer in the caller remains
unchanged. | | 1 |
| how to find the kth smallest element in the given list of
array elemnts.
| Silicon | 5 |
| #include<stdio.h>
int fun();
int i;
int main()
{
while(i)
{
fun();
main();
}
printf("hello \n");
return 0;
}
int fun()
{
printf("hi");
}
answer is hello.how??wat is tat while(i) mean? | Intel | 4 |
| what is output of the following statetment?Printf(“%x”,
-1<<4); ? | | 3 |
| How do I declare a pointer to an array? | | 5 |
| how can i get this by using for loop?
*
**
*
****
*
****** | Excel | 3 |
| what is the defrenece between structure and union | | 5 |
| pointer_variable=(typecasting
datatype*)malloc(sizeof(datatype));
This is the syntax for malloc?Please explain this,how it
work with an example? | Excel | 2 |
| |
| For more C Interview Questions Click Here |