Explain about the functions strcat() and strcmp()?
No Answer is Posted For this Question
Be the First to Post Answer
WAP to convert text into its ASCII Code and also write a function to decode the text given?
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
What is void main () in c?
write a method for an array in which it can display the largest n next largest value.
What is the difference between single charater constant and string constant?
Difference between for loop and while loop?
What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these
What is union and structure in c?
Which driver is a pure java driver
simple program of graphics and their output display
how to find greatet of 10 numbers without using array?
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.