| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| program to find the roots of a quardratic equation | | 1 |
| Two's compliment of -5 | Adobe | 3 |
| why the execution starts from main function | | 9 |
| what are two categories of clint-server application
development ? | | 1 |
| what type of language is C? | Microsoft | 2 |
| what is the output of the following program and explain the
answer
#include<stdio.h>
exp()
{
main(5)
}
main(int a)
{
printf("%d",a);
return;
} | Satyam | 3 |
| Program to find the absolute value of given integer using
Conditional Operators | N-Tech | 2 |
| Who is invented by c? | Infosys | 14 |
| how to convert an char array to decimal array | | 3 |
| YBJBU6 | | 1 |
| 24.what is a void pointer?
25.why arithmetic operation can’t be performed on a void
pointer?
26.differentiate between const char *a; char *const a;
and char const *a;
27.compare array with pointer?
28.what is a NULL pointer?
29.what does ‘segmentation violation’ mean?
30.what does ‘Bus Error’ mean?
31.Define function pointers?
32.How do you initialize function pointers? Give an example?
33.where can function pointers be used? | | 1 |
| how to impliment 2 or more stacks in a single dimensional
array ? | iFlex | 1 |
| Write code for initializing one dimentional and two
dimentional array in a C Program? | Deshaw | 5 |
| Dear Sir,
we are required the bubble sorting programs
Regs
Prem | | 1 |
| which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
| TCS | 2 |
| What's wrong with "char *p = malloc(10);" ? | | 4 |
| Sir i want e-notes of C languge of BAlaguruswami book i.e
scanned or pdf file of balaguruswamy book on c
language.PLEASE SEND ME on my mail id ajit_kolhe@rediff.com
| | 4 |
| long int size
a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes
| HCL | 11 |
| enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
| ME | 3 |
| 1.find the second maximum in an array?
2.how do you create hash table in c?
3.what is hash collision | Qualcomm | 6 |
| |
| For more C Interview Questions Click Here |