main()

{

int a=2,*f1,*f2;

f1=f2=&a;

*f2+=*f2+=a+=2.5;

printf("\n%d %d %d",a,*f1,*f2);

}

Answer Posted / vamshikrishna

12 12 12

explanition.
printf takes the last updated value and prints for every var
i.e,

a=a+2.5=4
so f2=4
f2=f2+4=8
here again f2 =4 "since f2=&a"
so f2=f2+4=12

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why nlogn is the lower limit of any sort algorithm?

2541


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

4049


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']

729


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 ?

2500


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2564






Develop a routine to reflect an object about an arbitrarily selected plane

3274


What is data _null_? ,Explain with code when u need to use it in data step programming ?

3014


Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines

3246


how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns

3342


could you please send the program code for multiplying sparse matrix in c????

3280


What is full form of PEPSI

2118


How to palindrom string in c language?

9793


how to test pierrot divisor

2460


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

3380


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

2131