How macro execution is faster than function ?
convert 12345 to 54321 withoutusing strig
write a program to rearrange the array such way that all even elements should come first and next come odd
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
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.
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
Explain is it valid to address one element beyond the end of an array?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
how to write a bubble sort program without using temporary variable?
What is a pragma?
Explain the difference between structs and unions in c?
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”
program for swapping two strings by using pointers in c language