What will be printed when the following C code is executed? #include void main() { if('A'<'a') printf("NPTEL"); else printf("PROGRAMMING"); }
Answers
Answered by
1
Answer:
first tell us what is the value of 'A' and 'a'.
- if the value of 'A' is greater than the value of 'a' then NPTEL will be printed.
- if the value of 'a' is greater than the value of 'A' then PROGRAMMING will be printed.
Explanation:
HOPE MY ANSWER WILL BE HELPFUL FOR YOU.
Similar questions