465 viewsMay 29, 2023C++#c# 1 Riya2.92K May 18, 2023 0 Comments How to declare a variable in C++? Sandhya Answered question May 29, 2023 3 Answers ActiveVotedNewestOldest 0 Sandhya2.52K Posted May 29, 2023 0 Comments To declare (create) a variable, you will specify the type, leave at least one space, then the name for the variable and end the line with a semicolon ( ; ). Sandhya Answered question May 29, 2023 You are viewing 1 out of 3 answers, click here to view all answers. Register or Login