prog.c: In function ‘main’:
prog.c:5:1: warning: implicit declaration of function ‘print’; did you mean ‘printf’? [-Wimplicit-function-declaration]
print("enter the value of a \n");
^~~~~
printf
prog.c:6:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^~~~~~~~~~~~~~
prog.c:8:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b);
^~~~~~~~~~~~~~
/usr/bin/ld: /home/0de5X2/cc1sMSvL.o: in function `main':
prog.c:(.text.startup+0x1c): undefined reference to `print'
collect2: error: ld returned 1 exit status