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.
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
how to create a c program for left factoring.
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
Well, if you mix C-language with PHP (for example), the resulting "program" won't work in any of the two.
c program was introduced in the year 1972 by Dennis RitchieNo, it was the C language, not the C program.
the features of a C program
I think it is 'execution of a C program'.
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
how to create a c program for left factoring.
compiler is just translator it translates the our source program to equivalent langauage,so computer can easily understand and compile that program efficiently................
C program for sorting the numbers is very basic, start writing it and if you are having problems, post your program here and a description of the problem and you will be helped. If you are taking a computer course, how do you expect to pass exams if you have plagiarized someone else work for your assignments.
find the program in c-pgms.blogspot.com