![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Char str[]="DOLLAR";Here , you have the base address of array i.e. str.By using only one pointer variable, you have to replace the occurrence of 'L' with '$$'. (after replacement, it should be DO$$$$AR)can any body suggest efficient method? Read Answers (2) | Asked by : pavan kumar reddy Tags : Pointer Latest Answer : No ,its not possible to have a dynamic array without using calloc,malloc or without ptr.... Why u want to know abt it? but u can achieve a array without specifying size say arr[]; but its not efficient as when u use this array..more space will ... Tags : Pointer Latest Answer : Dangling pointer is a pointer which is pointing to the destroyed object or which does not have proper address. A pointer should be intialized to zero once it is freed after allocating memory to that pointer. Ex: main() { ... Read Answers (1) | Asked by : sandip phad Tags : Pointer View Question | Asked by : vivek singh chauhan Tags : Pointer Latest Answer : Pointers to functions concept is used in C programming language in various instances. One of the common instance in which programmers use pointers to function concept is for passing pointers to a function as the name implies.For example the below declares ... Tags : Pointer What is function pointer in C program? Latest Answer : Function pointer in concept same as interger pointer, char pointer.Functions also have address keeping this in mind function pointers can be defined as variables, which point to the address of a function. ... Tags : Pointer What is NULL Macro? What is the difference between a NULL Pointer and a NULL macro?
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||