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


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.


Sarthak Kumar Sahu

There is nothing new in this questions as this copied directly from indiabix.com

722 days 18 hours 28 minutes ago

pratik jain

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

2020 days 21 hours 41 minutes ago

anil choudhary

plz give some typical pointers..questions

2028 days 12 hours 11 minutes ago

Sudhir Baldaniya Software Engineer
C, C++,HTML 5, Asp.net with C#, JavaScript, JQuery, Sql Server2005/08.
Tests: 5

Your Facebook Friends on WizIQ

More Tests By Author

Technical Database Related Test
20 Questions | 1406 Attempts

Test on Asp.net
20 Questions | 3644 Attempts

Test on Sql Server
10 Questions | 1729 Attempts