Hi guys i have question.
i want to run two function at the same time.
For example:
1 2 3 4 5 6
#include <stdio.h>
int main () {
int a;
while (a!=5) printf("hasan"); /* i want to when program writes, i enter a decimal to stop writing*/
scanf("%d",&a);
return 0;}
Thank you but when program is running, it writes "hasan" to infinite.
if i put scanf in {,,,}, it waits for n input.
I want to both program writes and i can enter anything