main()
{
static int var = 5;
printf("%d ",var--);
if(var)
main();
}
Answer / susie
Answer :
5 4 3 2 1
Explanation:
When static storage class is given, it is
initialized once. The change in the value of a static
variable is retained even between the function calls. Main
is also treated like any other ordinary function, which can
be called recursively.
| Is This Answer Correct ? | 50 Yes | 22 No |
main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }
How do you sort a Linked List (singly connected) in O(n) please mail to pawan.10k@gmail.com if u can find an anser...i m desperate to knw...
6 Answers Microsoft, MSD, Oracle,
void main() { int i=i++,j=j++,k=k++; printf(ā%d%d%dā,i,j,k); }
void main() { int i=5; printf("%d",i+++++i); }
write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"
Write a C function to search a number in the given list of numbers. donot use printf and scanf
write a program for area of circumference of shapes
String reverse with time complexity of n/2 with out using temporary variable.
main() { int i=5; printf(ā%dā,i=++i ==6); }
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
#include<stdio.h> main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }
pls anyone can help me to write a code to print the values in words for any value.Example:1034 to print as "one thousand and thirty four only"