How do i store a paragraph into a string?
for example, if i input a long paragraph, the program will
read the words one by one and concatenate them until no word
is left.
Why is c used in embedded systems?
Explain how can you tell whether two strings are the same?
Explain the use of keyword 'register' with respect to variables.
How can I split up a string into whitespace-separated fields?
What does dm mean sexually?
code for bubble sort?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
How can I do serial ("comm") port I/O?
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
In which language linux is written?
What is calloc()?
Write a program to find minimum between three no.s whithout using comparison operator.