-
-
-
-
-
-
Integral data type
which one of the following is not an integral data type 1. Character 2. Boolean 3. Integer 4. Pointer type
-
-
-
-
-
Which one of the following is NOT a default promotion?
1) If either operand of an arithmetic operator is unsigned long, the other operand is promoted to unsigned long. 2) If either operand of an arithmetic operator is unsigned int, the other operand is promoted to unsigned int. 3) If either operand of an arithmetic operator is int, the other operand is promoted to int. 4) If either operand of an arithmetic operator is double, the other operand...
-
-
-
Write a program to calculate the difference of the two sums ?
A function even_odd_difference()passes the array of elements.Write a program to calculate the difference of the two sums of which one sum adds the elements of odd ones and another adds the elements of even ones.
-
-
-
Point out the error, if any, in the following program main() { int a=10,b; a>= 5 ? b=100 : b=200; printf("n%d",b); }
lvalue required in function main(). The second assignment should be written in parenthesis as follows:
a>= 5 ? b=100 : (b=200);
-
-
-
C Interview Questions
Ans