3 like 0 dislike

#include <stdio.h>

int main()

{

int *ptr1, *ptr2, *ptr3, i = 10, j = 20, k = 30;

ptr1 = &i; i = 100;

ptr2 = &j; j = *ptr2 + *ptr1;

ptr3 = &k; k = *ptr3 + *ptr2;

 

printf("%d %d %d\n", *ptr1, *ptr2, *ptr3);

return 0;

           }

[Normal] Essay (Open question) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21927 - Available when: Unlimited - Due to: Unlimited
| 51 views
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:3.238.204.31
©2016-2021

Related questions

5 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21975 - Available when: Unlimited - Due to: Unlimited
| 97 views
5 like 0 dislike
1 answer
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21973 - Available when: Unlimited - Due to: Unlimited
| 131 views
5 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21972 - Available when: Unlimited - Due to: Unlimited
| 114 views
4 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21966 - Available when: Unlimited - Due to: Unlimited
| 83 views
4 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21964 - Available when: Unlimited - Due to: Unlimited
| 93 views
12,304 questions
166,965 answers
163,584 comments
4,641 users