C-Pointers Question and Answer

C-Pointers Question and Answer
191. Which of the following pointer can not be dereferenced ?
  • int *
  • char *
  • float *
  • void *
Show Answer
192. Which of following is true ?
  • Address + Number = Address
  • Address + Address = Address
  • Address * number = address
  • None of these
Show Answer
193. When the pointer points beyond 64kb proess memory is called
  • Near pointer
  • Far pointer
  • Huge pointer
  • None of these
Show Answer
194. Page zise in ANSI C is decided based on
  • Paging
  • Disk block size
  • RAM size
  • None of these
Show Answer
195. What is  major difference between strcpy and strncpy ?
  • strcpy copy the whole string, but strncpy copy only number of haracters
  • strcpy copy null chracter but strncpy does not copy null character
  • strcpy copy a string but strcpy does not copy a string
  • None of these
Show Answer
196. Segment size in Turbo C is decided base on
  • Register size
  • Disk block size
  • Map to 20 bits physical address
  • None of these
Show Answer
197. when malloc allocate memory beyond 64kb memory in turbo C, at that itme memory model should be
  • small
  • Medium
  • Large
  • None of these
Show Answer
198. Which of following opeator is used to dereference a memory location ?
  • Indirection operator
  • Multiplication operator
  • Suppression operator
  • Graphics character
Show Answer
199. Address + 1 =
  • Next adress of its type
  • Next address
  • next segment address
  • None of these
Show Answer
200. If pointer is capable of pointing to kernel area of Linux, then
  • Program should be compiled in user rea
  • Program should be compiled in OS area
  • Program should be compiled in Kernal area
  • None of these
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test