What will be the output of the program?
#include<stdio.h> int main() { char ch; ch = 'A'; printf("The letter is"); printf("%c", ch >= 'A' && ch <= 'Z' ? ch + 'a' - 'A':ch); printf("Now the letter is"); printf("%c\n", ch >= 'A' && ch <= 'Z' ? ch : ch + 'a' - 'A'); return}
#include<stdio.h> int main() { int i= i = i++; printf("%d\n", i); return}
#include<stdio.h> int main() { int x=y=z; z = x!=4 || y == printf("z=%d\n", z); return }
Associativity of an operator is either Left to Right or Right to Left.
Every operator has an Associativity
Which of the following are unary operators in C?
#include<stdio.h> int main() { int i= int j = i + (5); printf("%d\n", j); return }
#include<stdio.h> int main() { int a=b=c; c = (a ==|| b > 200); printf("c=%d\n", c); return }
#include<stdio.h> int main() { static int a[20]; int i = a[i] = i ; printf("%d, %d, %d\n", a[0], a[1], i); return}
Please disable the adBlock and continue. Thank you.