Computer Science, asked by usmanbinakhtar646, 5 months ago

Write two different techniques to declare and

initialize a variable with an example.

Answers

Answered by bhavya066
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