Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- /* run this program using the console pauser or add your own getch, system("pause") or input loop */
- int main() {
- int T[10];
- int *ws=T;
- int i=0;
- int j=0;
- for (i=0;i<10;i++)
- {
- *(ws+i)=i;
- }
- for (j=0;j<10;j++)
- {
- printf("%d",*(ws+i));
- }
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement