Explain the priority queues?
No Answer is Posted For this Question
Be the First to Post Answer
Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”
main is a predefined or user define function if user defined why? if predefined whay?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Explain what is a const pointer?
How would you sort a linked list?
the maximum width of a c variable name can be a) 6 characters b) 8 characters c) 10 characters d) 20 characters
List some applications of c programming language?
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
What is unary operator?
Write a program to find whether the given number is prime or not?
what is the diff b/w static and non static variables in C. Give some examples plz.