Q8 Would the following program compile?
#include
using namespace std;
int main() {
int a=10, *j; void *k; j=k=&a; j++;
k++; cout<<j<<k; return 0;
}
Would the following program compile?
A) Yes
B) No
i didnt undertood why answer is No?? it compiles so why answer is no?