1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.
4 7014write an algorithm to get a sentence and reverse it in the following format: input : I am here opuput: Here Am I note: first letter of every word is capiatlised
3 6213How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
1 7349hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
TCS,
1984I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
2 5581we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????
4 7565
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
How will you find a duplicate number in a array without negating the nos ?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
How we can insert comments in a c program?
What is the difference between ++a and a++?
What is the use of pragma in embedded c?
What does emoji p mean?
Do pointers need to be initialized?
write a program to rearrange the array such way that all even elements should come first and next come odd
Describe wild pointers in c?
What extern c means?
What is the full form of getch?
What is a node in c?
C language questions for civil engineering
Define VARIABLE?