main()

{

int *j;

{

int i=10;

j=&i;

}

printf("%d",*j);

}

Answer Posted / vishu

the answer is that
int i varibale is part of int*j block code ,but outside the
block of code i variable also show their existanse.if we
write a code after the int*j block of code .
int*h
{
h=&i
}
printf("%d",*h);

}

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to model an exploding firecracker in the xy plane using a particle system

3869


To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

731


How can you relate the function with the structure? Explain with an appropriate example.

3129


why nlogn is the lower limit of any sort algorithm?

2541


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2437


how to test pierrot divisor

2463


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

4076


How to palindrom string in c language?

9796


Write a routine to implement the polymarker function

4581


Cluster head selection in Wireless Sensor Network using C programming language.

3386


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

4054


write a simple calculator c program to perform addition, subtraction, mul and div.

3389


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2505


What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql

2631


How can I Create a C program in splitting set of characters to specific subsets. Example: INPUT SET OF CHARACTERS: Therefore, my dear brothers and sisters, stand firm. Let nothing move you. Always give yourselves fully to the work of the Lord, because you know that your labor in the Lord is not in vain. SPLIT INTO HOW MANY CHARACTERS PER SUBSETS: 10 OUTPUT: Therefore, my dear b rothers an d sisters, stand fir m. Let not hing move you. Alway s give you rselves fu lly to the work of t he Lord, b ecause you know that your labo r in the L ord is not in vain.

2165