Pointer in C Basic question. online Test

(1) What is (void*)0?


(2) Can you combine the following two statements into one?

char *p;

p = (char*) malloc(100);


(3) In which header file is the NULL macro defined?


(4) How many bytes are occupied by near, far and huge pointers (DOS)?


(5) The operator used to get value at address stored in a pointer variable is


(6) What would be the equivalent pointer expression for referring the array element a[i][j][k][l]


(7) If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?


(8) A pointer is













Description:

This test is the basic question of Pointer in C. It will beneficial in future reference. There is nothing any time limit. So don't worry , and attend the test very carefully. And there a multiple type question. So i hope most of people attend my test, This is my first test i shared on WiziQ. Specially thanks wiziQ members and Owner.

Discussion

pratik jain

good One buddy. Thanks .
!st question is really good to know

1161 days 7 hours 22 minutes ago

anil choudhary

plz give some typical pointers..questions

1168 days 21 hours 53 minutes ago

Sudhir Baldaniya Software Developer
C, C++,HTML 5, Asp.net with C#, JavaScript, Sql Server2005/2008.
User
31 Followers
Tests: 5

Your Facebook Friends on WizIQ

More Tests By Author

Technical Database Related Test
20 Questions | 608 Attempts

Test on Asp.net
20 Questions | 3177 Attempts

Test on Sql Server
10 Questions | 1191 Attempts

Test on Verbal Reasoning ( Blood Relation )
10 Questions | 3691 Attempts