print a semicolon using Cprogram without using a semicolon
any where in the C code in ur program!!
Answers were Sorted based on User's Feedback
Answer / bikash mazumdar
void main()
{
while(!printf("\nHello World"))
}
Is This Answer Correct ? | 30 Yes | 36 No |
Answer / narasimha peruru
#include<stdio.h>
void main()
{
while( printf("%c", 59), 0)
{
}
}
Is This Answer Correct ? | 1 Yes | 7 No |
Answer / anshu ranjan
#include<stdio.h>
void main()
{int a=59;
if(printf("%c",a)){}
}
\\the previous one was wrong
Is This Answer Correct ? | 17 Yes | 32 No |
Answer / anshu ranjan
#include<stdio.h>
void main()
{char a=';';
if(printf("%c",a)){}
}
Is This Answer Correct ? | 15 Yes | 49 No |
/*what is the output for*/ void main() { int r; printf("Naveen"); r=printf(); getch(); }
main() { printf("\nab"); printf("\bsi"); printf("\rha"); }
main() { int i; clrscr(); for(i=0;i<5;i++) { printf("%d\n", 1L << i); } } a. 5, 4, 3, 2, 1 b. 0, 1, 2, 3, 4 c. 0, 1, 2, 4, 8 d. 1, 2, 4, 8, 16
To reverse an entire text file into another text file.... get d file names in cmd line
Finding a number multiplication of 8 with out using arithmetic operator
void main() { int *mptr, *cptr; mptr = (int*)malloc(sizeof(int)); printf(ā%dā,*mptr); int *cptr = (int*)calloc(sizeof(int),1); printf(ā%dā,*cptr); }
String copy logic in one line.
#include<stdio.h> main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }
main() { static int var = 5; printf("%d ",var--); if(var) main(); }
void main() { while(1){ if(printf("%d",printf("%d"))) break; else continue; } }
Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.
Link list in reverse order.