Which of the following function is used to find the first occurrence of a given string in another string? a. strnset() b. strstr() c. strrchr() d. strchr()
SIKSHAPATH Latest Questions
Write a C program to print a multiplication table of the numbers from 1 to 10 using function.
Write a function to print a table of the numbers from 1 to 10, their squares, and their cubes in C Language.
A contractor orders, say, 30 cubic yards of premixed concrete to construct a patio that is to be, say, four inches thick. The length of the patio is to be, say, twice the width. Write a program that prompts the user ...
Write a C++ function, smallestIndex, that takes as parameters an int array and its size and returns the index of the first occurrence of the smallest element in the array. To test your function, write a main that prompts a ...
Loan Account Class: Create class LoanAccount. Use a static variable annuallnterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable principle indicating the amount the person is borrowing. Provide ...