C program to read the integer and calculate sum and average using single
dimensional array
No Answer is Posted For this Question
Be the First to Post Answer
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What are the advantages and disadvantages of c language?
struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??
What are the different types of objects used in c?
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
What is ctrl c called?
1. Write a C program to count the number of occurrence of a specific word in the given strings. (for e.g. Find how many times the word “live” comes in the sentence “Dream as if you’ll live forever, live as if you’ll die today ”)
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }
Write a program to reverse a given number in c?
Explain union.
Write a C program to print 1 2 3 ... 100 without using loops?
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).