COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What will be the output of the following C code?#include <stdio.h>void main(){int x = 5;if (x < 1)printf("hello");if (x == 5)printf("hi");elseprintf("no");}
|
hi
|
|
hello
|
|
no
|
|
error
|
Explanation:
Detailed explanation-1: -When we say Output, it means to display some data on screen, printer, or in any file. C programming provides a set of built-in functions to output the data on the computer screen as well as to save it in text or binary files.
There is 1 question to complete.