M
Q. What will be the output of the following code snippet?
#include <stdio.h> void solve() { int x = 1, y = 2; printf(x > y ? "Greater" : x == y ? "Equal" : "Lesser"); } int main() { solve(); return 0; }
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 of the following is the correct output for the program given below?
Q. How to initialize a pointer to an array of 10 char?
Q. How can you write a[i][j][k][l] in equivalent pointer expression?
Q. Difference between C Arrays, ary[10] and cry[10][10] is.
Q. Where the local variable is stored ?
Q. Which of the following shows the correct hierarchy of arithmetic operations in C
Q. How many punctuation characters are allowed in C language?
Discusssion
Login to discuss.