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 / thunder

GIVES THE ERROR DURING COMPILATION.
*P means IT CAN STORE ADDRESS NOT ANY INTEGER VALUE.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between null pointer and void pointer.

654


Explain 'bus error'?

545


Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)

673


What is hashing in c?

622


What is merge sort in c?

630






What is an operator?

649


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

645


how to write a c program to print list of fruits in alpabetical order?

1769


What is void main ()?

599


What are the salient features of c languages?

616


What is the difference between strcpy() and memcpy() function in c programming?

610


What is #pragma statements?

575


What does it mean when the linker says that _end is undefined?

616


What is the difference between exit() and _exit() function?

590


How to compare array with pointer in c?

610