Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 are the types of arrays in c?

0 Answers  


#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


What is s or c?

0 Answers  


Explain what is the benefit of using #define to declare a constant?

0 Answers  


What is scope and lifetime of a variable in c?

0 Answers  


Explain how do you print only part of a string?

0 Answers  


What are high level languages like C and FORTRAN also known as?

0 Answers  


What is the difference between i++ and i+1 ?(in terms of memory)

3 Answers   HCL,


what is difference between procedural language and functional language ?

4 Answers   Wipro,


Write a Program to accept different goods with the number, price and date of purchase and display them

0 Answers   HDFC,


c program to print a name without using semicolon

9 Answers   TCS, Wipro,


Write a program to generate the first n terms in the series --- 9,11,20,31,...,82

1 Answers   Cognizant,


Categories