main()
{
int i = 1;
int num[] = {1,2,3,4};
num[i] = i++;
printf("%d", num[i]);
}
what will be the output?
}
Answer Posted / vyasaraj.s
The output is 3
| Is This Answer Correct ? | 21 Yes | 7 No |
Post New Answer View All Answers
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
What is #include stdio h and #include conio h?
What is #ifdef ? What is its application?
What is character constants?
State the difference between x3 and x[3].
What are multidimensional arrays?
How can I write functions that take a variable number of arguments?
Subtract Two Number Without Using Subtraction Operator
Explain the meaning of keyword 'extern' in a function declaration.
Differentiate between functions getch() and getche().
Write a program to reverse a string.
What is #define in c?
Why is c used in embedded systems?
What is difference between static and global variable in c?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array