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 7165write 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 6363How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
1 7428hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
TCS,
2028I 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 5684we 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 7754
Why do we use stdio h and conio h?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What are different storage class specifiers in c?
What is #include stdlib h?
Can you define which header file to include at compile time?
Why does this code crash?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is difference between far and near pointers?
How does struct work in c?
Can we initialize extern variable in c?
What is the role of this pointer?
What is else if ladder?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Write a C program to count the number of email on text
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above