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 is the use of gets and puts?
what is c++ programming?
Can include files be nested?
What is a sequential access file?
What is a nested formula?
What does the characters “r” and “w” mean when writing programs that will make use of files?
can we store values and addresses in the same array? explain
Why clrscr is used after variable declaration?
how the compiler treats any volatile variable?Explain with example.
write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.
How to write the code of the program to swap two numbers with in one statement?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }