main()
{
static int ivar=5;
printf("%d",ivar--);
if(ivar)
main();
}
Answers were Sorted based on User's Feedback
what does ‘#include’ mean?
What is wrong with this program statement? void = 10;
using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.
What is the purpose of macro in C language?
What is a memory leak? How to avoid it?
What is strcpy() function?
What is the advantage of an array over individual variables?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What are data types in c language?
enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above
Input is "Jack and jill went up a hill" To print output is 1-letter word(s)-1 2-letter words-1 3-letter words-1 4-letter words-4
Why is c called a mid-level programming language?