2. Write a function called hms_to_secs() that takes three int values—for hours, minutes, and seconds—as arguments, and returns the equivalent time in seconds.. Create a program that exercises this function by repeatedly obtaining a time value in hours, minutes, and seconds from the user (format 12:59:59), calling the function, and displaying the value of seconds it returns.
5 26864how does the C compiler interpret the following two statements p=p+x; q=q+y; a. p=p+x; q=q+y b. p=p+xq=q+y c. p=p+xq; q=q+y d. p=p+x/q=q+y
2 10860write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search
1 61811. 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 ”)
12 76371increment operateor (++)and decrament(--)
#include
Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.
1 12273Post New TCS C Interview Questions
What is serialization and deserialization in java programming?
What is lookup table in etl testing?
Explain the difference between jvm and jre?
What is the concept of dao?
Tell me what are the steps kept in mind while designing the zend_form?
What do you know about the company and why do you want to join?
Explain model and version management in scm?
Is the cloud just a server?
Why do you perform 'integrity check’? : bo designer
Q.Explain ERMS? Q. What is coupning?
What are prompted filters?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
What is the relation of soap with xml?
What is session in c#?
OUR CO. ACCEPT SODEXO COUPONS FORM CUSTOMERS; WHEN WE SUBMIT COUPONS FOR REIMBURSEMENT TO SODEXO THEY DEDUCT SERVICE CHGS AND S. TAX AND PAY BALANCE AMOUNT, DOSE IT ATTRACT TDS?