C++ is an Object Oriented Programming Language is as we know , perfectly backword compatible with C. Becase of this backword compatibility .. it has got many flaws in it that prevented it to become a really good OOP language. Java was developped by ...
1 What is reference pointer?2 Which C features are not in C++?3 Write a program of spiral matrix.4 Write a program of magic square.
What is the difference between function pointer and pointer to function?why we use static variable as a global instead of defining it a local?
Can anyone give me complete information while performing this situation,A function is running, it has its own stack pointer, memory area now it invokes another function from this point what changes will be in it's memory area and what other changes in data segment, stack segment, heap segment. I want a complete picture of memory architecture?
#define NULL 0#define NULL_PTR (void *)0NULL_PTR has ponter context, while NULL is a normal value. ...
YES OFCOURSE....#include #include int main(){ int myVar; float fVal = 5.5; float *pFloat; pFloat = &fVal; ...
Hi,Pointers are variables which store address of an varaiable.int a=2;int *ptr;ptr=&a;let "2002" be the address locn of a. then => p=2002, at the value at that addres is "2".For more info "Let us C" by Yashwant Kanethkar - good book for beginers. ...
If we declare a pointer like char *p;how much memory is allocated for pointer variable 'p'.
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?
arulkumar: No, Void pointer is a pointer it is automatically type casted, we can assign to any pointer. But NULL pointer is a pointer which holds 0 (zero) as its content. (i.e) It doesn't pointing anything. ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top