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 / sateeshbabu aluri
we are not printing the address of variable
it mens &p;
we are printing value of p.
so,P=20 will be the o/p.
Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
When is a “switch” statement preferable over an “if” statement?
How to get string length of given string in c?
write a c program for swapping two strings using pointer
Why do we need functions in c?
What is volatile variable in c?
What is advantage of pointer in c?
How can I manipulate strings of multibyte characters?
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
How can variables be characterized?
Explain what is the difference between functions abs() and fabs()?
What is uint8 in c?
Write a program to print factorial of given number using recursion?
What is a void * in c?
Differentiate between null and void pointers.
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters