Explain about the functions strcat() and strcmp()?
Answer / Ramniwash Singh Yadav
The strcat() function in C concatenates two strings by appending one string to the end of another. The resulting string is stored in the destination string, which should be large enough to accommodate both strings. The strcmp() function compares two strings and returns 0 if they are equal, otherwise it returns a non-zero value that shows the difference between them.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain union.
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.
What is meant by preprocessor in c?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is Bitwise Operator and how it works?
int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?
What does struct node * mean?
What does emoji p mean?
What is an auto variable in c?
Write a program to identify if a given binary tree is balanced or not.
Difference between fopen() and open()?
What is queue in c?