Nice Info!!!
I am very very sorry. I am wrongly putted question. No problem of plateform and tools. Intresting question will be when we will call b->F();...
Originally written by Zeeshan Amjad Assumption: 32-bit Machine. Here I am going to explain How Virtual table, Virtual pointer for Virtual...
I did same as it should be but i dont know how it happen?? Offcourse it's not magic. Due to some mistake it happens
class Base { public: virtual void F(int a = 10) { cout<<"Base : "<<a<<endl; } }; class Derived: public Base {...
i=x<y<z => i= 10<20<z => i= true(1) < 5 => i= true(1) => i=1 This is true If Compiler evaluates from Left to Right if same perority...
This program is running in GNU compiler(g++ & gcc). Only it depends On Array Implementation in compiler. As geven answer by me is tested on...
In the statement a[i]= i++; a[0]=0 then i will increase to 1 . Now what will be a[1] to a[19] ???? It's value will be zero as normal array....
Currently in all compilers, As my last code posted will broke. Offcourse, You can'nt assign any value to Uninitialized pointer But My aim is not...
Mostly people are using this algorithm to compute matrix multiplication: #define n 1000 int main() { int a[n][n],b[n][n],c[n][n];...
Thanks !!!
All are knowing that all features of pointer!!! Okay dont explain!!!! >>> My question is why pointer can't work on my above post code? Just...
Nice to see you in this forum!!!!
I wanna use like this manner.... int main() { int *p,x=23; *p=10; //Some operation like simple variables ...... .........
Definition : Class which Can't be inherited by other class, that class is called final class. You all knows that final class is inbuilt in...
Yes!!! It's working. which plateform you r trying...
I got the solution for any Big number!!! This code is very efficient and optimized implemented by limked list.. class Link { //Data Member...
Very Very Sorry for this mistake. correct code will be Code: C int maximum(int x, int y) { int fNum[2],temp,num[2];...
First i told you to store in vector too much overhead and second thing storing has some limit!!! But you know today In Statistical Software...
Program to find max(x,y) or Min(x,y) without using any relational and logical operator. int maximum(int x, int y) { int...
Separate names with a comma.