Can int in c language declare pointer variables and integer variables at the same time? Such as int *p, a
Of course. Your statement int *p, a is equivalent to the * in front of int a, *p, p, which just means that this is a pointer variable. For example, when you declare int * p and q, when you first start learning, many people will mistakenly think that p and q are pointer variables, but in fact, p is pointer variables and q is integer variables.