Which control loop is recommended if you have to execute set of statements for fixed number of times?
No Answer is Posted For this Question
Be the First to Post Answer
wats SIZE_T meant for?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How does C++ help with the tradeoff of safety vs. usability?
What is switch in c?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
regarding pointers concept
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
There is a 100-story building and you are given two eggs. The eggs (and the building) have an interesting property that if you throw the egg from a floor number less than X, it will not break. And it will always brake if the floor number is equal or greater than X. Assuming that you can reuse the eggs which didn't broke; you got to find X in a minimal number of throws. Give an algorithm to find X in minimal number of throws.
is compiler do read the data line by line or not. ??
6 Answers LG Soft, Satyam, Tech Mahindra,
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).
what do structure language means?
what is the difference between while and do while?