Explain variables, C/C++ Programming

Assignment Help:

Variables

Information stored in a variable can alter in the course of the program. The type used in the definition explains the kind of information the symbol can store. Variables are addressable.

 Rules for naming the variables:

  • Can have characters, digits and underscore.
  • Can start with character or underscore.
  • Are case sensitive i.e., fan is different from Fan and FAN.
  • Can't use keywords
  • No limits on the length of the word.

 


Related Discussions:- Explain variables

Stone game, how to write a c program for stone game

how to write a c program for stone game

Substr and random pick file from directory, Hello I''m new to programming, ...

Hello I''m new to programming, and I''m making now my 1st program. My question is how to put substr in textbox that question mark should be at the end of sentence? And 2nd question

Compass bearing, write a c program that converts compass bearings into dire...

write a c program that converts compass bearings into direction

Integer parameters, write a static method with one integer parameter, x tha...

write a static method with one integer parameter, x that returns the value of the polynomial 3x(2)- 7x + 2

Create a program that converts numbers to characters, People sometimes give...

People sometimes give their phone numbers using one or more alphabetic characters. Create a program that converts the alphabetic characters to their corresponding numbers. For exam

Why shouldn''t matrix class''s interface look like an array, Why shouldn't ...

Why shouldn't Matrix class's interface look like an array-of-array? A: Some people build a Matrix class that has an operator[] that returns a reference to an Array object (or po

A client and a server for an instant messaging system based , Develop a cli...

Develop a client and a server for an instant messaging system based on UDP and IPv4

Recursive function, Write a recursive function recursiveMin that takes an i...

Write a recursive function recursiveMin that takes an integer array, a starting subscript and an ending subscript as arguments, and returns the smallest element in the array. The f

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd