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 7137write 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 6347How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
1 7417hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
TCS,
2021I 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 5672we 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 7725
Between macros and functions,which is better to use and why?
how is the examination pattern?
How do I use void main?
What does %d do in c?
explain what are actual arguments?
Explain what is the benefit of using const for declaring constants?
What is the difference between array_name and &array_name?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is break in c?
What is union in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Differentiate abs() function from fabs() function.
What is local and global variable in c?
What are the types of assignment statements?
What is pointer to pointer in c with example?