Write a c program to enter a string of paragraph and
replacing a particular word which is repeated in the
paragraph by another word?
Answers were Sorted based on User's Feedback
prog for 1st five prime numbers in 2^x - 1
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986
How can you access memory located at a certain address?
What are the three constants used in c?
using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.
What is the difference between memcpy and memmove?
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
What is self-referential structure in c programming?
which one is highest Priority in c? a)=,b)+,c)++,d)==
What is variable initialization and why is it important?
difference between function & structure
. Explain the differences between fork() and exec() in C