OK Now try this .......................
#include<cstdio>
#include<iostream>
using namespace std;
int main()
{
int w=10;
int *p=&w;
int *x;
*x=1000;
printf("%d %d ",*x,*p);
return 0;
}
Wht is the o/p ??
1)1000 10
2)1000 100
3)Compilation Error
4)Run Time Error
Any Difference ??????
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.