Introduction Here I am going to give a simple example of addition, substraction, multiplication etc to check overflow/underflow so that we can...
there is differencce b/w &i and i. &i means not accessing i only address of i. compiler knows &i and i difference
There is no difference b/w ((s *)0)->m and ((i*)0)->j . But when you write statement (size_t)&(((s *)0)->m) Then It will not go for...
That is Now your Intelligent question!!! #include<stdio.h> #include<stdlib.h> #define offsetof(s,m) (size_t)&(((s *)0)->m) #define Off(i,j)...
char ch; for(; { printf("Want to quit then Press k Key\n"); fflushstdin); scanf("%c",&ch); if(ch=='k') break; printf("please enter...
You can search on google for detail Or ask some point where you are unable to understand. In short: In c++ two types of polymorphism One is...
You can see this also... struct Data *ptr = 0; printf("%d\n",&(ptr->b));
(size_t)&(((s *)0)->m) (s*)(0) = 0 is integer which is cast to s pointer ((s*)(0))->m = Data...
This is just idea make it efficient when you are goin to write coode 1. Take two pointer ptr1 and ptr2 pointing to haystack and needle...
Null
ptr1 1 2 3 4 5 6 7 8 9 10 ptr2 1 3 5 7 9 2 4 6 8 10 So loop is there bcoz ptr1==ptr2. Here 1 2 3 etc...
Here i am just giving you an idea. Solve it by making it efficient and accurate. int nDigit=1,result=0; while(n>0) { n=n/10; ++nDigit;...
Node *Isloop(Node *List) { Node *ptr1=List, *ptr2=List,*ptr=NULL; while( (ptr1!=NULL) && (ptr2!=NULL)) { if (ptr && (ptr1 == ptr2))...
Take two pointer one pointing to head and increment it by one by one. and second pointer also point to head and increment it by two and check...
You are absolutely right for a C++ application running on Pc. But I am talking in same langauges C++ only but i mean processorlike MPC,i960 etc...
Why you are thinking about only PC. It may be for some other like MPC,i960 etc i.e for embedded OffCourse for inbuilt data type you will not get...
Article is originally written by Zeeshan Amjad Introduction Here I am going to give a detail about Recursion in C++. Definition: Recursion...
Really it's true. I am very very sorry. Now it will never be happened.
Nice approch!!! But sorry dear i forgot to mention you cant use division or modular division operator.
One more Information Just watch daily for one telecom indian based company "SUBEX Ltd". before One year, it's share price was 725 Rs. for long...
Separate names with a comma.