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 |
How will you divide two numbers in a MACRO?
what does data structure mean?
What does %p mean?
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?
How to write a multi-statement macro?
can we print any string in c language without using semicolon(;)(terminator) in whole program.
write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20
Explain Linker and Loader
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
write a program wch produces its own source code aas its output?
What is d'n in c?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none