-
What is a method?
A way of doing something, especially a systematic way; implies an orderly logical arrangement (usually in steps)
-
What is a pointer value and address?
A pointer value is a data object that refers to a memory location. Each memory locaion is numbered in the memory.The number attached to a memory location is called the address of the location.
-
What is a pointer variable?
A pointer variable is a variable that may contain the address of another variable or any valid address in the memory.
-
How are pointer variables initialized?
Pointer variable are initialized by one of the following two waysØ Static memory allocation Ø Dynamic memory allocation
-
-
-
-
-
-
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.
-
-
C Interview Questions
Ans