Write two different techniques to declare and
initialize a variable with an example.
Answers
Answered by
5
Explanation:
Different ways of initializing a variable in C
Method 1 (Declaring the variable and then initializing it)
int a;
a = 5;
Method 2 (Declaring and Initializing the variable together):
int a = 5;
Similar questions
Hindi,
3 months ago
English,
6 months ago
History,
6 months ago
Social Sciences,
11 months ago
Science,
11 months ago