Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
character variables and assignment contain characters variable requirement
#1
Subject: Character Variable
Sir, we not yet study about character variables and assignment contain characters variable requirement please help us Sad
Reply
#2
Dear student!
Variables are a way of reserving memory to hold some data and assign names to them so that we don't have to remember the numbers like 46735 and instead we can use the memory location by simply referring to the variable.
Every variable in C++ can store a value. However, the type of value which the variable can store has to be specified by the programmer. C++ supports the following inbuilt data types:-
int (to store integer values),
float (to store decimal values)
char (to store characters),
bool (to store Boolean value either 0 or 1)
void (signifies absence of information).
So, character variable is a type of variable that stores characters.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Create new variables with a loop? in c++ 2011 -12 Vuhelper 0 2,083 08-27-2011, 08:46 PM
Last Post: Vuhelper
  Issues with double variables in c++ 2011 Vuhelper 0 895 06-12-2011, 07:26 PM
Last Post: Vuhelper
  Variable Access Speed in C++ Vuhelper 0 1,029 06-12-2011, 07:23 PM
Last Post: Vuhelper
  Compound assignment +=, -=, *=, /=, %=, >>=, <<=, &=, ^=, |= in c++ May 2011 Vuhelper 0 1,754 05-29-2011, 06:20 PM
Last Post: Vuhelper
  static variable is called the global veriable ? saneha 1 1,889 05-02-2011, 06:51 AM
Last Post: Vuhelper
  Static Variable in c++ 2011 saneha 1 2,413 04-29-2011, 08:32 AM
Last Post: Vuhelper
  what are instance variable in c++ ? saneha 1 6,513 04-29-2011, 08:30 AM
Last Post: Vuhelper
  i solve the assignment i mean which ms word doc file can i use sana.pari 1 1,893 04-24-2011, 06:52 PM
Last Post: Support
  Within our assignment code, can we replace <iostream.h> header with <iostream> sana.pari 1 1,837 04-24-2011, 06:03 PM
Last Post: Support
  Car No. : LWQ234. My question is that Car No. is mixed with characters sana.pari 1 1,780 04-24-2011, 05:46 PM
Last Post: Support

Forum Jump:


Users browsing this thread: 1 Guest(s)