Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impossibility to use pointers or anything that needs the adress of a variable in c #52

Open
Etozinhachan opened this issue Oct 22, 2023 · 1 comment

Comments

@Etozinhachan
Copy link

its impossible to do so cause if we use the & character it just doesnt work and it ends the code at that points ( probably because after the & after the code is expecting the language ), so, its basicly impossible to do anything in C, am i just being dumb or is it really a bug?

(( without the scanf(\"%i\", &ia); part and the input=10 part the code works but i really need the input part for what im doing ))

"code=#include<stdio.h>\nint main(){\nprintf("meow");\nint ia = 0;\nscanf("%i", &ia);\n printf("%i", ia);\n\n}\n&language=c&input=10"

image

@Prakhar8958
Copy link

Its Working fine ,their is one DockerFile which handle the
environment for compiling and proper execution of given code
$ gcc -o test_program test_program.c
$ ./test_program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants