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
Social Sciences,
3 months ago
English,
3 months ago
English,
6 months ago
History,
6 months ago
Social Sciences,
10 months ago
Science,
10 months ago