Created
September 11, 2023 16:02
-
-
Save glina126/0ebad4e045bc3e3a7175c1de4fb46e40 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # include <stdio.h> | |
| void fun(int *ptr) | |
| { | |
| *ptr = 30; | |
| } | |
| int main() | |
| { | |
| int y = 20; | |
| fun(&y); | |
| printf("%d", y); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment