answersLogoWhite

0

The spelling!

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

Difference between char pointer and char buffer?

The difference here is that char *p = "Hello"; will place Hello world in the read-only parts of the memory and making p a pointer to that, making any writing operation on this memory illegal. While doing: char p[] = "Hello"; puts the literal string in read-only memory and copies the string to newly allocated memory on the stack. p[0] = 'A'; is legal.


What is the difference between Char a equals string and char a equals String?

Well, if you write like char a=string; it is wrong. You have to declare the size of the array or else put the brackets immediately after the variable declaration. You also have to put the string in quotes, or provide a comma-separated list of characters. E.g.,char a[]={'s','t','r','i','n','g'};Or more simply:char a[] = "string";Remember that C/C++ is case-sensitive and that all keywords are lower case. Thus Char would be regarded as an invalid keyword.


What is meant by unsigned char?

AnswerAn unsigned char is a byte; its value can be between 0 and (2^8) - 1 (i.e., 0-255).


What is the difference between Malloc and calloc in C and JAVA?

In C, malloc is used to reserve a predetermined size of memory. void * malloc ( size_t size ); calloc is used to reserve a chunk of memory large enough to store num elements, each of a predetermined size. void * calloc ( size_t num, size_t size ); To create a char array of size 10 you can do it in one of two ways: char* mChars = malloc( 10 * sizeof(char) ); char* cChars = calloc( 10, sizeof(char) ); There is no concept of malloc or calloc in Java.


Why concrete highways are made in short sections with tar-filled gaps between them?

The tar gaps are where the hwy has been repaired.

Related Questions

What is the difference between tar and nicotine?

............


Difference between char and varchar datatypes?

Char is fixed length, while Varchar is variable length.


What is difference between road tar and asphalt?

Road tar is made from coal. Asphalt is a heavy fraction of petroleum.


What is the difference between char and varchar2 in dbms?

no diff between varchar and varchar2 char store only chacter type but varchar2 store variable chacters. also varchar2 shirinks the space if not fully filled but char cant.


What is the difference between statements in c plus plus charconstp and char constp?

There is no difference. Both statements are invalid.


What is the difference between varchar and char?

Varchar cuts off trailing spaces if given a shorter word than its declared length, while char does not. Char will pad spaces after it if given a shorter word.


The difference between a healthy gene and aThrombocytopenia-absent radius TAR syndrome gene?

the difference is that this website is dumb


Difference between const char and char const?

const char *p means the char value pointed by 'p' is constant we can't change anyway but the address(location) of 'p' can change. char const *p means the char value pointed by 'p' can change but the location of p can't be change it is constant.


How do you make a good char on rs?

get swamp tar,2000 to make 400k per hr


Is Josh Parker and Drake Bell real step brothers?

tar is a fuel. but char is not fuel.


Describe the difference between tar and cpio?

Tar and cpio are both archive utilities used on Unix-like systems. Tar creates archives by sequentially appending files together, while cpio archives files by copying them into a single archive. Tar is more widely used and supports more compression options, while cpio is typically faster and more efficient in handling system backups.


What is the difference between smokelees tabocco?

the main difference between smokeless tobacco and regular tobacco is the abscence of tar. when you smoke a cigarette, tar builds up in your lungs. but when you chew tobacco it doesnt. even though smokeless tobacco is equally as dangerous as regular tobacco.