|
|
INTERVIEW QUESTIONS
LANGUAGES
C DETAILS
Question :
viii) main() { char *p; printf("%d %d ",sizeof(*p),sizeof(p)); }
|
|
|
Related Questions |
View Answer |
 |
main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }
|
View Answer |
 |
x) main() { printf("%x",-1<<4); }
|
View Answer |
 |
What is pointer?
|
View Answer |
 |
How to perform matrix multiplication using Double linked lists?
|
View Answer |
 |
If compiler for c is written in c language, which is used to complie the compiler?
|
View Answer |
 |
What is the difference between
#include< > and #include" "
|
View Answer |
 |
How can you get the number of elements in an array allocated dynamically at runtime? For example - int *p = (int *) malloc(sizeof(int) * n);
int numElems = ??????? /* n is not available here */
|
View Answer |
 |
How can send unlimited no of arguments to a function, eg printf function can take any no of arguments
|
View Answer |
 |
What is the draw back in using friend function in c++
|
View Answer |
 |
In the following code, in which order the functions would be called? x = f1(23,14)*f2(12/4)+f3();
a) f1, f2, f3 b) f3, f2, f1 c) The order may vary from compiler to compiler d) None of the above
|
View Answer |
Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.
| Notify me when better answer is posted!
|
View ALL C Interview Questions
|
|
|