main()
{
static int ivar=5;
printf("%d",ivar--);
if(ivar)
main();
}
Answers were Sorted based on User's Feedback
Explain the use of keyword 'register' with respect to variables.
Differentiate between Macro and ordinary definition.
what is the difference between char * const and const char *?
Is main a keyword in 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.
What is the purpose of 'register' keyword in c language?
In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?
What is macro?
what is the difference between normal variables and pointer variables..............
15 Answers HP, Infosys, Satyam, Vivekanand Education Society,
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
what is the main use of c where it can use the c