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
What are the types of arrays in c?
#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(); }
What is s or c?
Explain what is the benefit of using #define to declare a constant?
What is scope and lifetime of a variable in c?
Explain how do you print only part of a string?
What are high level languages like C and FORTRAN also known as?
What is the difference between i++ and i+1 ?(in terms of memory)
what is difference between procedural language and functional language ?
Write a Program to accept different goods with the number, price and date of purchase and display them
c program to print a name without using semicolon
Write a program to generate the first n terms in the series --- 9,11,20,31,...,82