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

int *p=20 means
int *p;
p=20;
so when you print the value of p definitely you will get the output as 20 because the value of p is 20

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set file pointer to beginning c?

662


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

802


Define recursion in c.

697


What are the differences between Structures and Arrays?

603


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

660






Not all reserved words are written in lowercase. TRUE or FALSE?

719


Write a program to generate random numbers in c?

658


What is #pragma statements?

583


Can a pointer be volatile in c?

531


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

5790


What are the rules for the identifier?

667


What is modeling?

642


In c programming language, how many parameters can be passed to a function ?

626


Why do we write return 0 in c?

547


explain what is a newline escape sequence?

681