The strcat() function has the following protocol:
char* strcat (char* destination, char* source);
The function appends the source string to the destination string and returns the destination string.
The destination string must be a null-terminated character array of sufficient length to accommodate strlen (source) plus strlen (destination) characters, plus a null-terminator. The existing null-terminator and subsequent characters of destination are overwritten by characters from the source string, up to and including the source string's null-terminator.
strcat (string, '!') will not work because '!' is a character literal (ASCII code 33 decimal), not a null-terminated character array. Use "!" instead of '!'.
Example:
char string[80]; // character array
strcpy (string, "Hello world");
strcat (string, "!");
puts (string);
With lots of hard work.
c program was introduced in the year 1972 by Dennis RitchieNo, it was the C language, not the C program.
how to create a c program for left factoring.
No, a C program cant work without an interpreter or compiler or assembler as the code written in the program is not understood directly by the computer so it needs any of the above translator program to make the program understandable to the computer.-Shruti Jain
You can use the gross c compiler and the file will just be compiled with no error. Or microsoft C++ Would work too if one's computer runs on windows.
With lots of hard work.
It should work without any special action.
Set in it a map And then place it in C:/program filles/Call of Duty If it not work try this C:/program filles/Call of Duty/main
the features of a C program
c program was introduced in the year 1972 by Dennis RitchieNo, it was the C language, not the C program.
Well, if you mix C-language with PHP (for example), the resulting "program" won't work in any of the two.
I think it is 'execution of a C program'.
how to create a c program for left factoring.
No, a C program cant work without an interpreter or compiler or assembler as the code written in the program is not understood directly by the computer so it needs any of the above translator program to make the program understandable to the computer.-Shruti Jain
compiler is just translator it translates the our source program to equivalent langauage,so computer can easily understand and compile that program efficiently................
find the program in c-pgms.blogspot.com
what are the parts of C language program