0 votes
95 views
in C program by (98.9k points)
edited

What is variable initialization and why is it important?

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
This refers to the process wherein a variable is assigned an initial value before it is used in the program. Without initialization, a variable would have an unknown value, which can lead to unpredictable outputs when used in computations or other operations.

Related questions

0 votes
1 answer 124 views
asked Aug 10, 2022 in Discuss by anonymous
0 votes
1 answer 119 views
0 votes
1 answer 129 views
+1 vote
1 answer 152 views
+1 vote
1 answer 172 views
0 votes
1 answer 148 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

554 users

...