| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| define function | Assurgent | 4 |
| How do you write a program which produces its own source
code as its output? | | 2 |
| What compilation do? | Geometric-Software | 7 |
| prototype of sine function. | Cadence | 2 |
| What ios diff. Between %e & %f? | Honeywell | 1 |
| What are .h files and what should I put in them? | | 3 |
| void main()
{
int i=5;
printf("%d",i++ + ++i);
} | ME | 11 |
| HOW TO HANDLE EXCEPTIONS IN C | | 5 |
| Why doesn't the code "int a = 1000, b = 1000;
long int c = a * b;" work? | | 6 |
| which of the function operator cannot be over loaded
a) <=
b)?:
c)==
d)*
| HCL | 7 |
| Give the output for the following program.
#define STYLE1 char
main()
{
typedef char STYLE2;
STYLE1 x;
STYLE2 y;
clrscr();
x=255;
y=255;
printf("%d %d\n",x,y);
}
| ADITI | 1 |
| what is the difference between normal variables and pointer
variables.............. | Satyam | 7 |
| difference between semaphores and mutex? | | 1 |
| What is alloca() and why is its use discouraged? | | 1 |
| YBJBU6 | | 1 |
| what are the general concepts of c and c++ | | 1 |
| i want to have a program to read a string and print the
frequency of each character and it should work in turbo c | | 2 |
| O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N | ADP | 9 |
| HOW DO YOU HANDLE EXCEPTIONS IN C?
| AppLabs | 2 |
| 9.how do you write a function that takes a variable number
of arguments? What is the prototype of printf () function?
10.How do you access command-line arguments?
11.what does ‘#include<stdio.h>’ mean?
12.what is the difference between #include<> and #include”…”?
13.what are # pragma staments?
14.what is the most appropriate way to write a
multi-statement macro? | | 1 |
| |
| For more C Interview Questions Click Here |