int *p=20;
if u print like dis printf("%d",p);
o\p:- 20; how is it possible?
plz give me the explanation.

Answer Posted / jack

It will not compile. You cant do int *p = 20;

Is This Answer Correct ?    12 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops c?

602


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1672


What is data structure in c language?

599


Write a program of advanced Fibonacci series.

704


What is calloc in c?

657






How arrays can be passed to a user defined function

572


How can I handle floating-point exceptions gracefully?

632


What is pointer to pointer in c language?

593


State the difference between x3 and x[3].

648


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

1953


How can I write functions that take a variable number of arguments?

624


What is operator promotion?

625


What are the keywords in c?

639


What is the difference between array and linked list in c?

596


Why we use stdio h in c?

575