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 / ankit
it will show compiler error as we are trying to assign integer value to pointer variable.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How can I avoid the abort, retry, fail messages?
Is null always defined as 0(zero)?
How many header files are in c?
Write a program to reverse a string.
Why do we use header files in c?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Do you know null pointer?
How do you list a file’s date and time?
Why is not a pointer null after calling free?
how can I convert a string to a number?
Is c language still used?
What is the meaning of typedef struct in c?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What is a protocol in c?
Explain how can I make sure that my program is the only one accessing a file?