print numbers till we want without using loops or condition
statements like specifically(for,do while, while swiches,
if etc)!
Answers were Sorted based on User's Feedback
Answer / vijay
main()
{
static int i;
printf("%d \n",i++);
main();
}
| Is This Answer Correct ? | 3 Yes | 19 No |
source code for delete data in array for c
main() { int i, j, *p; i = 25; j = 100; p = &i; // Address of i is assigned to pointer p printf("%f", i/(*p) ); // i is divided by pointer p } a. Runtime error. b. 1.00000 c. Compile error d. 0.00000
main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }
How to count a sum, when the numbers are read from stdin and stored into a structure?
1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.
main() { show(); } void show() { printf("I'm the greatest"); }
how to test pierrot divisor
write a simple calculator c program to perform addition, subtraction, mul and div.
0 Answers United Healthcare, Virtusa,
main() { int i =0;j=0; if(i && j++) printf("%d..%d",i++,j); printf("%d..%d,i,j); }
struct point { int x; int y; }; struct point origin,*pp; main() { pp=&origin; printf("origin is(%d%d)\n",(*pp).x,(*pp).y); printf("origin is (%d%d)\n",pp->x,pp->y); }
Find the largest number in a binary tree
#define clrscr() 100 main() { clrscr(); printf("%d\n",clrscr()); }