How macro execution is faster than function ?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

convert 12345 to 54321 withoutusing strig

5 Answers  


write a program to rearrange the array such way that all even elements should come first and next come odd

0 Answers  


how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");

9 Answers   TCS,


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.

0 Answers  


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

0 Answers  


Explain is it valid to address one element beyond the end of an array?

0 Answers  


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers  


how to write a bubble sort program without using temporary variable?

1 Answers   Aricent,


What is a pragma?

0 Answers  


Explain the difference between structs and unions in c?

0 Answers  


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”

5 Answers   Mind Tree,


program for swapping two strings by using pointers in c language

1 Answers  


Categories