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

explain memory layout of a C program

2 Answers  


how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

9 Answers   TCS,


how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.

2 Answers  


Why & is used in c?

0 Answers  


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

0 Answers   Wilco,


Explain what is a stream?

0 Answers  


Tell me can the size of an array be declared at runtime?

0 Answers  


Write a program to print "hello world" without using a semicolon?

0 Answers  


Mention four important string handling functions in c languages .

0 Answers  


what type of errors are checked during compilation

3 Answers  


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.

0 Answers  


write a function to swap an array a[5] elements like a[0] as a[5],a[1] as a[4],....a[5] as a[0].without using more than one loop and use one array not to use temp array?

1 Answers   Zensar,


Categories