Do you know the difference between malloc() and calloc() function?
No Answer is Posted For this Question
Be the First to Post Answer
What is the maximum no. of arguments that can be given in a command line in C.?
Given an array of numbers, except for one number all the others occur twice. Give an algorithm to find that number which occurs only once in the array.
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.
Are bit fields portable?
What is the use of a semicolon (;) at the end of every program statement?
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
Q.11 Generate the following pattern using code in any language(c/c++/java) for n no. of rows 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Why is %d used in c?
how to find string length wihtout using c function?
What is the role of && operator in a program code?
List a few unconditional control statement in c.
What is the basic structure of c?