| Choose Exam Category |
Why "error" while compiling this program I get 10 as an output, can you please explain me
While compiling above program I get 18 as output and some warning: { ques18.c: In function ‘main’: ques18.c:5:11: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d %d", sizeof(*p),sizeof(p)); ^ ques18.c:5:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] printf("%d %d", sizeof(*p),sizeof(p)); } can you plz explain this
left.same