Write a code on reverse string and its complexity.
No Answer is Posted For this Question
Be the First to Post Answer
Why flag is used in c?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
write a program to count the no of repaeted words in a line?
What is ctrl c called?
Explain what is the difference between declaring a variable and defining a variable?
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
List the difference between a While & Do While loops?
How can my program discover the complete pathname to the executable from which it was invoked?
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.
How to print %d in output
What’s a signal? Explain what do I use signals for?