![]() Related Questions Latest Answer : A Null pointer is one which does not refer to any thing
Far pointer refers to an address which not in the same segment where pointer is defined.
Near pointer refers to an address in the same segment where the pointer is defined
Regards
Mulay Chetan ... Latest Answer : #include#includevoid main(){int i,flag=0,k,l,m,n;char str[100];clrscr();printf("enter the string n");scanf("%s",str);l=strlen(str);printf("%d",l);l=l-1;i=0;while(strcmp(str[i],str[l])==0){if(i+1==l){printf("its ... Read Answers (2) | Asked by : Dhanesh Latest Answer : Internally NULL is defined as 0, this may varies compiler to compiler. so just think the above statement like this.char p = 0;char &q = p;if you see output of q it will be 0. if we change it likechar p = 65;char &q = p;output of q would be 'A'. ... What is NULL Macro? What is the difference between a NULL Pointer and a NULL macro? What is the purpose and use of function pointers? Latest Answer : Function pointer holds the address of a function. Every function has a address. We can call the function by calling the function pointer. ... What is the use of null pointers? Latest Answer : Usually in C. If are nor initialized any thing automatically some garbage information will be palced in variable. In pointers also same if we are not initialized with any variable address it will point to some memory. Avoid accessing of some other memory ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||