What are the different pointer models in c?
Answers were Sorted based on User's Feedback
Answer / sathish kumar
Hi All,
This is sathish. Upto my knowledge you have three types of
pointers in C. They are
1) Near
2) Far
3) Huge
Thanks & Regards
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gg
Dear Satish...
Can U explain in brief... please...
Thank You
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashwin kumar
According to size of program in code area,data area and
stack area there are six type of memory model:
1. Tiny
2. Small (default)
3. Medium
4. Compact
5. Large
6. Huge
Note: - to change memory model (in turbo c) go to
Option->compiler->code generation.
| Is This Answer Correct ? | 0 Yes | 0 No |
NULL Pointer
Dangling Pointer
Generic Pointers
Wild Pointer
Complex Pointers
Near Pointer
Far Pointer
Huge Pointers
| Is This Answer Correct ? | 0 Yes | 0 No |
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?
What does %d do?
How many types of operator or there in c?
What is echo in c programming?
Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not
wap in c to accept a number display the total count of digit
wap to print "hello world" without using the main function.
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Was 2000 a leap year?
main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs?
Is there a way to switch on strings?
What are the storage classes in C?