-
-
-
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)?
-
-
-
-
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 -
-
-
-
-
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.
-
-
-
Sum of two numbers without using arithmetic operators
Ex:int a=10;int b=10;int sum=a+b;without using "+" operator calculate sum
-
Fix Function
Write the implementation of Fix function? fix(2.5) = 2 and fix(-2.25) = -3, this is the expected result. Write the code to implement this behaviour?
-
C Interview Questions
Ans