| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| let's take a code
struct FAQ
{
int a;
char b;
float c;
double d;
int a[10];
}*temp;
now explain me how the memory will be allocated for the
structure FAQ and what address will be in the structure
pointer (temp).................... | | 7 |
| What is the diffences between Windows XP and Windows Visa
| Aricent | 1 |
| which operator having highest precedence?
a.)+ b.)++ c.)= d.)%
| | 3 |
| WAP – represent a char in binary format
| Motorola | 4 |
| Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?
| | 1 |
| Give me basis knowledge of c , c++... | | 4 |
| Which command is more efficient?
*(ptr+1) or ptr[1] | | 3 |
| 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 | 6 |
| Dear Sir,
we are required the bubble sorting programs
Regs
Prem | | 1 |
| 6. Which of the Following is not defined in string.h?
A)strspn()
B)strerror()
C)memchr()
D)strod()
| Accenture | 1 |
| I use turbo C which allocates 2 bytes for integers and 4
bytes for long. I tried to declare array of size 500000 of
long type using the following code...
long *arr;
arr=(long *)(malloc)(500000 * sizeof(long));
It gives a warning that "Conversion may lose significant
digits in function main"...
And the resulting array size was very less around 8400 as
compared to 500000. Any suggestions will be welcomed....
| | 2 |
| program to find the roots of a quardratic equation | | 1 |
| how to estimate the disk access time?
e.g. the time between read one byte and another byte in the
disk. | Google | 3 |
| What is Heap? | | 3 |
| What's a "sequence point"? | | 2 |
| what's the o/p
int main(int n, char *argv[])
{
char *s= *++argv;
puts(s);
exit(0);
}
| Motorola | 1 |
| WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS | | 4 |
| const char *
char * const
What is the differnce between the above tow?.
| TCS | 5 |
| What are the different pointer models in c? | | 3 |
| program for validity of triangle from 3 side | | 6 |
| |
| For more C Interview Questions Click Here |