|
Related Questions |
View Answer |
|
How do you decide which integer type to use?
|
View Answer
|
|
Explain which of the following declarations will compile and what will be constant - a pointer or the value pointed at: * const char * * char const * * char * const
|
View Answer
|
|
Why are arrays usually processed with for loop?
|
View Answer
|
|
What’s the output of the following program? Why? #include <stdio.h> main() { typedef union { int a; char b[10]; float c; } Union;
Union x,y = {100}; x.a = 50; strcpy(x.b,"hello"); x.c = 21.50;
printf("Union x : %d %s %f
",x.a,x.b,x.c ); printf("Union y :%d %s%f
",y.a,y.b,y.c); }
Given inputs X, Y, Z and operations | and & (meaning bitwise OR and AND, respectively) What is output equal to in
|
View Answer
|
|
What does extern mean in a function declaration?
|
View Answer
|
|
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
|
View Answer
|
|
What is the difference between char a[] = “string”; and char *p = “string”; ?
|
View Answer
|
|
What’s the auto keyword good for?
|
View Answer
|
|
What is the difference between char a[] = “string”; and char *p = “string”;?
|
View Answer
|
|
What can I safely assume about the initial values of variables which are not explicitly initialized?
|
View Answer
|
|
What does extern mean in a function declaration?
|
View Answer
|
|
What is an explicit constructor?
|
View Answer
|
|
What is a mutable member?
|
View Answer
|
|
When is a template a better solution than a base class?
|
View Answer
|
|
When should you use multiple inheritance?
|
View Answer
|
|
What is the difference between a copy constructor and an overloaded assignment operator?
|
View Answer
|
|
What is a conversion constructor?
|
View Answer
|
|
What is a default constructor?
|
View Answer
|
|
How does throwing and catching exceptions differ from using setjmp and longjmp?
|
View Answer
|
|
How many ways are there to initialize an int with a constant?
|
View Answer
|