D
Q. What will be the output of the following C code?
#include <stdio.h> int main() { int a[5] = {1, 2, 3, 4, 5}; int i; for (i = 0; i < 5; i++) if ((char)a[i] == '5') printf("%d\n", a[i]); else printf("FAIL\n"); }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which escape character can be used to begin a new line in C?
Q. Sizes of short, int and long in a Turbo C C++ compiler in bytes are.?
Q. What is the range of a signed char variable in C?
Q. Which function used to modify the system date?
Q. Choose a correct statement about Right Shift Operator >> ?
Q. Choose a syntax for C Ternary Operator from the list.
Q. What is the output of C Program with String Arrays?
Q. The translator which performs macro calls expansion is called:
Discusssion
Login to discuss.