A - B. C. D - Answer & Explanation
A - B. C. D - Answer & Explanation
What is (void*)0?
A
Representation of NULL pointer
.
B.Representation of void pointer
C.Error
D
None of above
.
Answer & Explanation
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
View Answer C Compiler Report Discuss in Forum
2.
Can you combine the following two statements into one?
char *p;
p = (char*) malloc(100);
A
char p = *malloc(100);
.
B.char *p = (char) malloc(100);
C.char *p = (char*)malloc(100);
D
char *p = (char *)(malloc*)(100);
.
Answer & Explanation
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
View Answer C Compiler Report Discuss in Forum
3.
In which header file is the NULL macro defined?
A
stdio.h
.
B.stddef.h
D
math.h
.
D
near=4 far=4 huge=8
.
B.&
C.*
D
->
.
12Nex
6.
What would be the equivalent pointer expression for referring the array element a[i][j][k][l]
A
((((a+i)+j)+k)+l)
.
B.*(*(*(*(a+i)+j)+k)+l)
C.(((a+i)+j)+k+l)
D
((a+i)+j+k+l)
.
B.&
D ||
.
Answer & Explanation
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
View Answer C Compiler Report Discuss in Forum
Prev 12