I am continuously getting that warning. I am sharing my code , please see and tell where is pointer.
#include<stdio.h>
int main() {
int ageofUser, age;
char damru[100], professionUser[20], name[20];
printf("Hello I am Damroo , your personal chatbot.\n But I can answer limited questions because I am in developing phase.\n so lets chat.\n So , What is your name ?\n");
scanf("%s", &damru);
printf("Ohkay, what is your age ?");
scanf("%d", &ageofUser);
printf("Ohkay , Mr. %d , What do you work ?", &ageofUser);
scanf("%s", &professionUser);
printf("Why don't you talk bidirectionally ?");
if (scanf("%s", &name) == "What is your name ?");
printf("I am damroo.");
if (scanf("%d", &age) == "what is your age ?");
printf("I was born on 17/02/2021");
return 0;
}
I just want to know where is pointer. I can't find any.