| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is external and internal variables
What is dynamic memory allocation
what is storage classes in C | | 2 |
| Who had beaten up hooligan "CHAKULI" in his early college days? | | 1 |
| enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
| ME | 3 |
| What compilation do? | Geometric-Software | 7 |
| what is the difference between arrays and linked list | Tech-Mahindra | 15 |
| program for validity of triangle from 3 side | | 6 |
| Average of a couple 10 years ago was 25. The average
remains same after having a child and twins after 3 years.
What is the present age of the first child | IBM | 9 |
| pointer_variable=(typecasting
datatype*)malloc(sizeof(datatype));
This is the syntax for malloc?Please explain this,how it
work with an example? | Excel | 2 |
| To find whether a number is even or odd without using any
conditional operator?? | IBM | 4 |
| What is the difference between null pointer and void pointer | CTS | 3 |
| what's the return value of malloc() | | 8 |
| What is volatile in c language? | HCL | 1 |
| #ifdef TRUE
int I=0;
#endif
main()
{
int j=0;
printf("%d %d\n",i,j);
}
| ADITI | 2 |
| biggest of two no's with out using if condition statement | | 2 |
| how many argument we can pas in in a function | CTS | 20 |
| what is the output of following question?
void main()
{
int i=0,a[3];
a[i]=i++;
printf("%d",a[i]
} | | 2 |
| how to find the size of the data type like int,float
without using the sizeof operator? | | 7 |
| what is pointer | TCS | 1 |
| what type of language is C? | Microsoft | 2 |
| Binary tree traversing | Qualcomm | 1 |
| |
| For more C Interview Questions Click Here |