3 like 0 dislike

#include <stdio.h>

int main()

{

int *ptr, i = 10;

ptr = &i;

(*ptr)++;

++*ptr;

printf("Val = %d\n", i); return 0;

}

 

References: C From Theory

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

Related questions

3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21933 - Available when: Unlimited - Due to: Unlimited
| 76 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21932 - Available when: Unlimited - Due to: Unlimited
| 57 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21928 - Available when: Unlimited - Due to: Unlimited
| 66 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21922 - Available when: Unlimited - Due to: Unlimited
| 79 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 12, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21921 - Available when: Unlimited - Due to: Unlimited
| 84 views
11,982 questions
154,912 answers
156,371 comments
4,246 users