-
-
-
-
-
}
plz simplify the statement the 2 .when i run program gives undefined symbol p..but in a/c mcq that is correct ..say collect address of i ..how?? ">1)what is RTTI in c++?2)main(){ int i=10; int &p=i; //statement 2printf("%d %d"i,p);}plz simplify the statement the 2 .when i run program gives undefined symbol p..but in a/c mcq that is correct ..say collect address of i ..how??
-
-
-
Pointer Use
Why do we use pointer instead of variable?
Finding a number which is a power of 2in a single step
How to find whether the given number is a power of 2 in single step (without using loops)?
How do you redirect a standard stream?
Most operating systems, including DOS, provide a means to redirect program input and output to and from different devices. This means that rather than your program output (stdout) going to the screen; it can be redirected to a file or printer port. Similarly, your program’s input (stdin) can come from a file rather than the keyboard. In DOS, this task is accomplished using the redirection characters,...
What is the output of the following sample C Code
Int *ptr = (int *)malloc(100*(sizeof(int)));ptr++;free(ptr);
Ans