163k views
4 votes
What is the output of int s; in c programming?m​

1 Answer

5 votes

Answer:

No output

Step-by-step explanation:

Given

int s;

Required

The output

The above instruction is not an output statement, but rather it is a statement that declares variable s as an integer.

Hence, no output is expected.

To produce an output in C, you make use of the following print statement:

printf("%d", s);

The above instruction prints the value of s

User Vzamanillo
by
5.7k points