What does typedef struct mean?
No Answer is Posted For this Question
Be the First to Post Answer
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.
With the help of using classes, write a program to add two numbers.
What is the method to save data in stack data structure type?
what is use of malloc and calloc?
WAP to convert text into its ASCII Code and also write a function to decode the text given?
Write a program to print this triangle: * ** * **** * ****** * ******** * ********** Don't use printf statements;use two nested loops instead. you will have to use braces around the body of the outer loop if it contains multiple statements.
Find occurence of a character in a sting.
Apart from dennis ritchie who the other person who contributed in design of c language.
What is stack in c?
How can you find the exact size of a data type in c?
What are the similarities between c and c++?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.