answersLogoWhite

0


Best Answer

The far memory type may be used for variables and constants. This memory is accessed using 24-bit addresses and may be on-chip or external.

  • For variables, far memory is limited to 16M. Objects are limited to 64K and may not cross a 64K boundary. Variables declared far are located in the HDATA memory class.
  • For constants (ROM variables), far memory is limited to 16M. Objects are limited to 64K and may not cross a 64K boundary. Constant variables declared far are located in the HCONST group.

Declare far objects as follows: unsigned char farfar_variable; unsigned char const farfar_const_variable;

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is char far datatype in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the best datatype for storing your birthday?

in Unix: the datatype is "Date" in C++: the datatype is "char"


What is the best datatype for storing birthdays?

in Unix: the datatype is "Date" in C++: the datatype is "char"


What is primare datatype in c?

primary datatypes means the data types which are provided by developer of language himself like int,float,double,char are the primary data types in c language where as the String,array are nothing but the derived data types. for Ex.we derived the String data type from char datatype using array system.


Is their any scalar datatype in c language?

Float


What is meant by a Java Long Datatype?

The Java Long Datatype is a 64 bit data language, this format of Java is important to be skilled in for anyone that are to be doing C++ programing language.


How you declare a variable in c language?

you have to give a statement in the following syntax datatype variable;


Special character in C language?

special character in c language are as follows~ ' ! @ # % ^ & * () _ - + = | \ {} [] : ; " <> , . ? /


How do you convert decimal number to ASCII code?

That depends on what language you're using. In PHP for example, it would be like this: $c = chr($i); In C, it would be: char c = (char)i; in BASIC, you'd use: LET C$ = CHR$(I)


How do you apply if in char type in c plus plus?

char x = "C"; if(char == 'C') { } else { }


What is the datatype of 3 in c?

integer literal


How do you attach parity bit in c language?

for example: unsigned char attach (unsigned char byte, unsigned char bit) { unsigned char mybyte; mybyte = byte&0x7f; if (bit) mybyte |= 0x80; return mybyte; }


What is available in C language but not in C plus plus?

Not much. Examples, that are possible in C only: char str3[3] = "ABC"; int new;