Computer Science, asked by shrushti3798, 1 year ago

Write a syntax and example to declareba variable and assignment of a variable

Answers

Answered by dhanrajaditya01
2

Syntax:-

[Data Type] [variable]; //Assignment

[variable]=[value];


Example:-

int n; //Assignment

n=10;

Similar questions