Practicals C,C++,C#,VB and Shell Script
1: #include<stdio.h>
2: #include<conio.h>
3: #include<stdlib.h>
4: void main()
5: {
6: int x,i;
7: int *xptr=&x;
8: srand(12345);
9: *xptr=rand();
10: printf("x=%d\n",x);
11: getch();
12: }
No comments:
Post a Comment