Pointers Questions and Answers

Practice Mode
Showing 10 of 217 questions
Q191
Which of the following pointer can not be dereferenced ?
  • A int *
  • B char *
  • C float *
  • D void *
Answer: Option D
Q192
Which of following is true ?
  • A Address + Number = Address
  • B Address + Address = Address
  • C Address * number = address
  • D None of these
Answer: Option A
Q193
When the pointer points beyond 64kb proess memory is called
  • A Near pointer
  • B Far pointer
  • C Huge pointer
  • D None of these
Answer: Option B
Q194
Page zise in ANSI C is decided based on
  • A Paging
  • B Disk block size
  • C RAM size
  • D None of these
Answer: Option B
Q195
What is  major difference between strcpy and strncpy ?
  • A strcpy copy the whole string, but strncpy copy only number of haracters
  • B strcpy copy null chracter but strncpy does not copy null character
  • C strcpy copy a string but strcpy does not copy a string
  • D None of these
Answer: Option B
Q196
Segment size in Turbo C is decided base on
  • A Register size
  • B Disk block size
  • C Map to 20 bits physical address
  • D None of these
Answer: Option A
Q197
when malloc allocate memory beyond 64kb memory in turbo C, at that itme memory model should be
  • A small
  • B Medium
  • C Large
  • D None of these
Answer: Option C
Q198
Which of following opeator is used to dereference a memory location ?
  • A Indirection operator
  • B Multiplication operator
  • C Suppression operator
  • D Graphics character
Answer: Option A
Q199
Address + 1 =
  • A Next adress of its type
  • B Next address
  • C next segment address
  • D None of these
Answer: Option A
Q200
If pointer is capable of pointing to kernel area of Linux, then
  • A Program should be compiled in user rea
  • B Program should be compiled in OS area
  • C Program should be compiled in Kernal area
  • D None of these
Answer: Option C
Questions and Answers for Competitive Exams Various Entrance Test