Which of the following is correct statement to access 5th element in a array arr[] of size 50? a. arr[5] b. arr[4] c. arr{5} d. arr{4}
SIKSHAPATH Latest Questions
What will be the output? #include<stdio.h> int main() { if((0&&1)||(1&&-1)) printf(“Condition is true.”); else printf(“Condition is false.”); return 0; } a. Condition is true b. Condition is false c. Compilation Error d. No output possible
Continue statement used a. To continue to the next line of code b. To debug c. To stop the current iteration and begin the next iteration from the beginning d. None of the above statements are correct
In the C program ‘&’ is used in ‘scanf’ to indicate or, What is & indicate in scanf? a. AND operation b. Memory location c. Value of the variable d. Value at the memory location.
Which of the following is not a valid variable name declaration? (a) int _a3; (b) int 3_a; (c) int a_3; (d) int _3a
For initialization a = 2, c = 1 the value of a and c after this code will be c = (c) ? a = 0 : 2; options: 1.a = 0, c = 0; 2.a = 2, c = 2; 3.a = 2, c ...