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.

Comments
anil choudhary
By: anil choudhary
478 days 21 hours 26 minutes ago

plz give some typical pointers..questions

anil choudhary
By: Sudhir Baldaniya Software Developer
478 days 4 hours 53 minutes ago

Ya sure, Mr.Anil i will you........

pratik jain
By: pratik jain
471 days 7 hours 56 minutes ago

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

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
Sudhir Baldaniya Software Developer
C, C++,HTML 5, Asp.net with C#, JavaScript, Sql Server2005/2008.
User
22 Followers
Tests: 4

Your Facebook Friends on WizIQ

More Tests By Author

Test on Asp.net
20 Questions | 1900 Attempts

Test on Sql Server
10 Questions | 468 Attempts

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

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect