| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What's the difference between struct x1 { ... }; and
typedef struct { ... } x2; ?
| | 2 |
| What character terminates all strings composed of character
arrays?
1) 0
2) .
3) END
| | 3 |
| What is the memory allocated by the following definition ?
int (*x)[10];
| ADITI | 3 |
| How would you write qsort? | | 1 |
| Given an array of characters, how would you reverse it? How
would you reverse it without using indexing in the array? | | 1 |
| a=0;
b=(a=0)?2:3;
a) What will be the value of b? why
b) If in 1st stmt a=0 is replaced by -1, b=?
c) If in second stmt a=0 is replaced by -1, b=?
| Geometric-Software | 5 |
| How the processor registers can be used in C ? | HP | 4 |
| Convert the following expression to postfix and prefix
(A+B) * (D-C) | | 1 |
| what r callback function? | | 1 |
| what is the difference between. system call and library
function? | CDAC | 1 |
| Program to find the absolute value of given integer using
Conditional Operators | N-Tech | 2 |
| There are 3 baskets of fruits with worng lables,one basket
has apple,another basket has orange,another has combination
of apple and orange,what is the least way of interchange
the lables. | Google | 8 |
| pgm to find number of words starting with capital letters
in a file(additional memory usage not allowed)(if a word
starting with capital also next letter in word is capital
cann't be counted twice) | Subex | 1 |
| What is the function of ceil(X) defined in math.h do?
A)It returns the value rounded down to the next lower
integer
B)it returns the value rounded up to the next higher integer
C)the Next Higher Value
D)the next lower value | Accenture | 3 |
| Will Macros support multiple arguments ?
| Oracle | 5 |
| what are two categories of clint-server application
development ? | | 1 |
| How can I set an array's size at run time? | | 7 |
| Define function ?Explain about arguments? | Geometric-Software | 2 |
| Given an array of numbers, except for one number all the
others occur twice. Give an algorithm to find that number
which occurs only once in the array. | | 1 |
| write a program to print sum of each row of a 2D array.
| | 2 |
| |
| For more C Interview Questions Click Here |