-
-
-
-
C program to find 2 Digit Number
Write a program in C to find the 2 digit number which is 3 times its sum of its digits.
-
-
-
-
What is the difference between structure & union?
how can we multiply this A*B without using "*" operator?
-
Sequence of Function Execution
printf("%d%d",f1(),f2());What is the sequence of function execution of the above statement. 1. printf, f1(), f2()2. printf, f2(), f1()3. f1(), f2(), printf4. f2(), f1(), printf.
-
What is the output of the following program:
cint main()
{
char a = 120, b = 140;
int i;
i = a + b;
printf("%d", i);
return 0;
}
a) 260
b) 0
c) -1
d) 1 -
-
-
-
-
-
Constant Variable Value
How will you change the value of a constant variable in C?
-
C Pointer Size
If p is declared as char *p then what is size of(*P)?
-
-
-
TCS C/C++ Questions
1. Difference between "C structure" and "C++ structure".2. Diffrence between a "assignment operator" and a "copy constructor"3. What is the difference between "overloading" and "overridding"?4. Explain the need for "Virtual Destructor".5. Can we have "Virtual Constructors"?6. What are the different types of polymorphism?7. What are Virtual Functions? How to implement virtual functions in "C"8. What...
C Interview Questions
Ans