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

How does sizeof know array size?

0 Answers  


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

0 Answers  


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

0 Answers   Google, Infosys,


what is a function pointer and how all to declare ,define and implement it ???

4 Answers   Honeywell,


What is the difference between void main() and void main (void) give example programme?

0 Answers  






What is the difference between #include and #include 'file' ?

0 Answers  


What is volatile variable in c with example?

0 Answers  


In C language what is a 'dangling pointer'?

0 Answers   Accenture,


What are the general description for loop statement and available loop types in c?

0 Answers  


What is cohesion in c?

0 Answers  


What is the concatenation operator?

0 Answers  


What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  


Categories