1.int a=10;
2.int b=20;
3. //write here
4.b=30;
Write code at line 3 so that when the value of b is changed
variable a should automatically change with same value as b.

5.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>

5 Answers   TCS,


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

0 Answers  


what are bit fields? What is the use of bit fields in a structure declaration?

0 Answers   Flextronics, TISL, Virtusa,


program in c to print 1 to 100 without using loop

9 Answers   Wipro,


How we can write a value to an address using macro..?

0 Answers   Tata Elxsi,






When do we get logical errors?

0 Answers  


What is the correct code to have following output in c using nested for loop?

0 Answers  


What is external variable in c?

0 Answers  


what is difference between null and nul in c language

2 Answers  


what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

6 Answers   Microsoft,


What is ctrl c called?

0 Answers  


Is there any data type in c with variable size?

0 Answers  


Categories