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
What is the function of this pointer?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What is else if ladder?
What does void main () mean?
write a program to copy the string using switch case?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
Array is an lvalue or not?
What is a shell structure examples?
Why doesnt long int work?
What are multibyte characters?
How can I discover how many arguments a function was actually called with?
what value is returned to operating system after program execution?
Explain why C language is procedural?
Can we access array using pointer in c language?
Explain the use of function toupper() with and example code?