What are function pointers? Provide an example.
Answer / nashiinformaticssolutions
Pointers to functions that allow dynamic invocation of functions. Example:
void (*funPtr)(int) = &printNumber;
| Is This Answer Correct ? | 0 Yes | 0 No |
i want to have a program to read a string and print the frequency of each character and it should work in turbo c
Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()
What are qualifiers?
What are the complete rules for header file searching?
What are the advantages of using Unions?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What are data structures in c and how to use them?
1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?
What library is sizeof in c?
can we have joblib in a proc ?
how to find anagram without using string functions using only loops in c programming
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.